You are not logged in.    Login    New User    Forum Home    Search

Location:
JBPLAY  \  Meteor 2  \  General  \  new Shrouder code - "C.rappylos"

Back to Threads

Viewing Thread: new Shrouder code - "C.rappylos"

 

fuzinavl
 Official Sponsor

Joined: 06 October 2004
Posts: 287
17 April 2005 17:18 (UK time)

--> <A HREF="http://fuzinavl.tripod.com/downloads.html">DOWNLOAD shrouder demo</A> <--

--> <A HREF="http://fuzinavl.tripod.com/downloads.html">DOWNLOAD utility functions</A> <-- polygon_force_CW(*verts,num_verts);

code is unoptimized but produces correct results

Edited: 20 April 2005 14:22


You need to login to create posts in this thread.

mike323
Joined: 23 January 2005
Posts: 745
17 April 2005 21:39 (UK time)

Oh kool, nice job

You need to login to create posts in this thread.

fuzinavl
 Official Sponsor

Joined: 06 October 2004
Posts: 287
19 April 2005 16:42 (UK time)

Bug fixed. The problem was in the example program, not Crappylos itself. I created a video bitmap instead of a system bitmap.

Example program purdyfied to 640x480 high color

Edited: 19 April 2005 16:44


You need to login to create posts in this thread.

James Bunting
Joined: 17 September 2003
Posts: 1308
21 April 2005 11:03 (UK time)

lol.

This looks nice, pretty easy to use too. I will link to this thread from my todo list.

I am starting to have future ideas about dynamic lighting...

You need to login to create posts in this thread.

fuzinavl
 Official Sponsor

Joined: 06 October 2004
Posts: 287
21 April 2005 13:56 (UK time)

well, --> <A HREF="http://fuzinavl.tripod.com/monolos.rtf"> monolos </A> <-- will be in C++ because I like using stl's {list} and {vector}

I wonder if hardware alpha blending would be the way to go.
I could support colored lighting, and blacking out areas could use black and transparent hardware blits, and hardware black triangle fans.
Pixel shaders are available only on new, expensive video cards.

next meteor version.

I think crappylos will have to do for now.

Edited: 21 April 2005 13:57


You need to login to create posts in this thread.

fuzinavl
 Official Sponsor

Joined: 06 October 2004
Posts: 287
08 May 2005 18:08 (UK time)

I've decided to use AllegroGL for the next version.
features:
colored glass: 1-way, 2-way
colored lights - cone, ellipse, circle
multiple allied points of view are combined

shining colored lights through multiple layers of colored glass should produce correct results. Pseudocode complete up to this point. Other than a church, I don't know were you'd need this.

Last feature to be added to pseudocode:
Roof/Treetop drawing - visible area portions are to be "cut out".
Maybe a stencil buffer would work. I need to find out more...

Edited: 08 May 2005 18:16


You need to login to create posts in this thread.



Forums system (C) 1999-2023 by James Bunting.

Terms of Use