NURBS models

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
3DModelerMan
Posts: 1691
Joined: Sun May 18, 2008 9:42 pm

NURBS models

Post by 3DModelerMan »

Is there any way to use NURBS models in Irrlicht? I think that their might be a way if I changed some engine code.
That would be illogical captain...

My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
DarkDepths
Posts: 126
Joined: Sun Apr 02, 2006 1:21 am
Location: Canada

Post by DarkDepths »

Of course there is a way if you change engine code :P I personally wouldn't have a clue where to start, but you may want to check out the wikipedia entry http://en.wikipedia.org/wiki/NURBS as it seems to have a lot of stuff, some of which could probably be useful.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

I'd doubt that there is a chance if *you* would change the engine code, but still there's a chance... :roll:
wyrmmage
Posts: 204
Joined: Sun Mar 16, 2008 3:12 am
Contact:

Post by wyrmmage »

I'm no expert on NURBS, but you could probably use them in your 3D modeling program and then just apply the NURBS modifier before exporting your model ;)
-wyrmmage
Worlds at War (Current Project) - http://www.awkward-games.com
Ganadu'r, The Eternal Sage (Other Current Project) - http://rpg.naget.com
Ion Dune
Posts: 453
Joined: Mon Nov 12, 2007 8:29 pm
Location: California, USA
Contact:

Post by Ion Dune »

wyrmmage wrote:I'm no expert on NURBS, but you could probably use them in your 3D modeling program and then just apply the NURBS modifier before exporting your model ;)
-wyrmmage
That's what I am able to do in C4D, and is probably a better idea than trying to implement NURBS into irrlicht if only because of performance, unless you plan on some sort of real time NURBS modification.
christianclavet
Posts: 1638
Joined: Mon Apr 30, 2007 3:24 am
Location: Montreal, CANADA
Contact:

Post by christianclavet »

HUmm... Nurbs wouldnt be so good to implement if you want real time feedback. The only part of the industry that use it today are in the design and engeneering groups. Nurbs are very good as they can produce very accurate 2D/3D curves and volumes, but they operate diffently than a polygon mesh and take more time to render. For an engineer wanting to plot accurately a blueprint of a new car model, this is not really an issue, for "realtime" application, this is not perfect. (Unless you have a way to get a LOT of calculation power from the workstation)

The thing that could be cool to implement in Irrlicht instead would be subdivision surfaces (SUB-D). Those use the low-poly mesh as a reference and can be subdivided, it's way of doing is compatible with any standard meshes and UV's can still be applied on it. With it you could do some kind of inverse LOD. For example, you could take a low poly mesh of a character and them subdivide it when it's going very close to the camera.
Mel
Competition winner
Posts: 2292
Joined: Wed May 07, 2008 11:40 am
Location: Granada, Spain

Post by Mel »

I don't think that is a bad idea at all, adding some sort of Nurbs surfaces/objects to the engine. Now i recall OpenGL evaluators , which could be pretty well used to generate curved surfaces, with parametric generation of triangles.

I only find 1 main drawback, real time formats still don't have any chance of defining Nurbs objects.
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt
Post Reply