Hi Daniel,
 
I saw the Graphics Gems online sample code. But unfortunately its too trivial to be used in a product that we are developing and moreover I need TRIMMED NURBS surfaces, and that makes things more complicated. I may try to find out a readymade NURBS facetter instead.
 
Anyways, thanks a lot for the suggestion.
 
with regards,
Anirban
----- Original Message -----
Sent: Saturday, June 17, 2000 8:02 PM
Subject: Re: [JAVA3D] NURBS rendering in Java3D

Anirban,
 
I would write my own Java classes to decompose a NURB into a triangle strip which could then be part of a scenegraph. There is some sample code to do this in one of the Graphics Gems books that you could covert to Java.
 
Could be a fun project...
 
 
Daniel Selman

[EMAIL PROTECTED]

Tornado Labs Ltd.
http://www.tornadolabs.com
 
[Daniel Selman]  
-----Original Message-----
From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Anirban Bhadore
Sent: Friday, June 16, 2000 5:55 AM
To: [EMAIL PROTECTED]
Subject: NURBS rendering in Java3D

Hi All,
 
Presently Java3D does not support NURBS surfaces as geometry. I want to handle NURBS surfaces in a Java3D Viewer, how do I handle picking and other stuff ( which are supported by Java3D on facets )?
 
What I tried was writing a class of my own extended from javax.media.j3d.Canvas3D and overloaded the postRender() where I call my JNI which in turn makes call to OpenGL Platform Libs. And I am able to render the NURBS surfaces separately by my own JNI and the surfaces are properly rendered to the Java3D Canvas. But These NURBS surfaces ARE NOT part of the Java3D Scene Graph. And that's why normal Java3D features are not supported on these surfaces. It seems difficult( if not impossible) to add them to the Java3D Scene Graph.
 
Does anybody have any experience in this? Any suggestion will be appreciated.
 
with thanks,
Anirban

Reply via email to