Cheers for the reply mate.
Ive been working on it for the past couple of days now, and have managed to
get a wireframe developed using the triangulate methods, the problem I have
now is that my winding order is incorrect so the wireframe looks a tad off,
when I display points the shape is correct, I would like to simply drape an
image over these points, ive been looking at 'texcoordgeneration' but cant
figure out if im on the right track.
Any info would be good. Pete
> [drawing a wireframe on top of a 3D-scene using a 2D context]
> is incorrect so the wireframe looks a tad off, when I display
> points the shape is correct, I would like to simply drape an
> image over these points, ive been looking at 'texcoordgeneration'
> but cant figure out if im on the right track.
I'm not quite sure, if I get you right.
If you want to add an artificial wireframe on top of your rendered
3D-Scene, you have to mimic the perspective view transformation.
Otherwise, your wireframe *has* to look wrong.
No, I'm not gonna ask why in the world you need an additional
wireframe on top of your rendered images. ;-)
Sorry to disappoint you, but I'm afraid I won't be much of a help,
here.
Somewhere (as always, when asked: you naturally can't remember) - I
believe in the demos or on the web - I found a snippet that tweaked
the vertex normals and line drawing styles and thus gave a stong
*outline* to the rendered J3D image.
But this still is no wireframe, I admit.
Ha! Got it: <http://www.j3d.org/tutorials/quick_fix/npr_line.html>
<:-)
Maybe, you'll like to have a close look at the archives of
J3D-Interest. Just browse for wireframe. Doing so, I found this:
<http://archives.java.sun.com/cgi-bin/wa?A2=ind0207&L=java3d-interest&F=&S=&P=8699>
If nothing of this seems appropriate in your case, I'd like to ask
you to just explain it a little more to me. Maybe I might get the
hint, then.
Regards,
André