looking for fast, free triangle or nurbs rasterization code

looking for fast, free triangle or nurbs rasterization code

Post by Chris Cha » Tue, 03 Apr 2001 06:19:19



Anyone know a good source of portable, public domain triangle or NURBS
rasterization code ?

It should:
        -be portable across Wintel/Mac
        -not use 3D hardware
        -textures triangles or draws NURBS directly
        -support texturing, 8 bits per channel

Thanks,
Chris

 
 
 

looking for fast, free triangle or nurbs rasterization code

Post by Alexei A. Frounz » Tue, 03 Apr 2001 07:37:30



Quote:> Anyone know a good source of portable, public domain triangle or NURBS
> rasterization code ?

> It should:
>         -be portable across Wintel/Mac
>         -not use 3D hardware
>         -textures triangles or draws NURBS directly
>         -support texturing, 8 bits per channel

It's not a big deal. All you need is just HLL implementation (e.g.
C/Pascal/whatever w/o ASM whatsoever) and draw the stuff in an off-screen
buffer. This is the most general way to keep the thing extremely portable.
Basically, this is what people do when they start software rendering for a
very 1st time, they just implement everything in HLL, test the stuff, debug
it, find fastest algorithms and the hardware dependent part is flipping the
off-screen buffer to the screen. If the proformance is not aceptable, some
hardware dependant approaches come in play (like ASM).
I have my own tmapper in C that does that for 8bpp modes and it's not anyhow
complicated, though if you're going to add light and other sophisticated
stuff on top of it, it will be.

Good Luck
--
Alexei A. Frounze
alexfru [AT] chat [DOT] ru
http://alexfru.chat.ru
http://members.xoom.com/alexfru/
http://welcome.to/pmode/

 
 
 

looking for fast, free triangle or nurbs rasterization code

Post by Willem H. de Boe » Wed, 11 Apr 2001 00:42:21


Try Graphics Gems IV (Paul Heckbert). It contains a gem which
shows how to tessellate/render NURBS surface patches.



Quote:> Anyone know a good source of portable, public domain triangle or NURBS
> rasterization code ?

> It should:
>         -be portable across Wintel/Mac
>         -not use 3D hardware
>         -textures triangles or draws NURBS directly
>         -support texturing, 8 bits per channel

> Thanks,
> Chris

 
 
 

1. triangle rasterization

It's a long shot but hey...

Do you have some pure delphi/pascal code to 'render' a triangle to a
frame buffer.

Something like:

procedure TetraClip
(X1,Y1,
X2,Y2,
X3,Y3,

ClipX1,ClipY1,
ClipX2,ClipY2 : Integer;

Color : Byte;

FrameBuffer  : pointer );

If it has sub pixel accuracy that would be a bonus.

If no one replies I will end up reverse enginering some assembler code
:) from the 80486 days :)
--
Skybuck presents free software for windows 95 and up:
Network Info, UDP Speed Test v1.07 and UDP Multicast Test v2.00
http://www.mycgiserver.com/~skybuck

2. export iges

3. best triangle rasterization alg.

4. Gesture recognition?

5. i'm looking for source code explaining marching triangles algorithm

6. Black text on black background

7. Looking for code or algorithms for performing boolean operations on 3d triangles

8. Startup Screen problems!

9. Fast rasterization algorithms sought

10. Fast triangle - triangle intersection?

11. Fastest software rasterization ?

12. Fast free wavelet code?

13. Looking for FFT- Source Code !!!! (Fast Fourier Transformation)