Shadow volume

Blitz3D Forums/Blitz3D Programming/Shadow volume

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

the function for create volume is the last function posted ShadowVolumeCreate3$(...)

this function is composed the 2 section

1° section:

acquire vertex transformed, selected vertex front side light, and defined edge triangle


2° section:

discard edge equal and create volume object other adge

the funtion is indipendent to the system

i have a idea.... InitShadow this function acquire vertex object first and precessed vertex(in the memory) post for volume, this system increment speed 2 - 10%

the very problem is generate ShadowVolumeCreateImage this funcion create slow speed for 2 read pixel(back and front face object volume) and 1 write pixel, this function simulate stencil

congratulation!! the your system render is very good speed

excuse for the my english

Thank's for all bye