Log in

View Full Version : 3D rendering script, your thoughts?


Silicate Wielder
August 30th, 2013, 05:37 PM
So, i've spent an hour on this program that will be able to render graphics using an analog 3D mesh file, it can also track mouse position to alter the perspective, although i want to eventually be able to use head tracking to do this, creating a 3D effect, alot of code is missing that I have to add later but here is the sample code (I hope you guys can understand what this is, if not PM me and I will take the time to write out and post sudo code.

https://dl.dropboxusercontent.com/u/66928589/3D%20script..gif

Basically it reads data from a set of coordinates in a type of variable called list, it then spits the X and Y coordinates live into a secondary list and moves the pen to the specified coordinate. once there it moves onto the next coordinates, and when it ends the list, it starts over again, I also added in some operators to allow it to alter the image depending on the mouse position.

so, what do you guys think?

If you want a demo, it's right here. The 3D view mode isn't active be default, as of right now the feature to switch into the 3D mode isn't implemented fully. A manual changing of the variable is necessary.
Download Demo here. (https://dl.dropboxusercontent.com/u/66928589/3D%20Engine..exe)

EDIT: Click the little grey arrow on the top left corner of the rendering area, that will switch you into a mode to see the code and play around with model setups.

Silicate Wielder
September 5th, 2013, 04:34 PM
UPDATE

I've added some more code, the algorithm for processing depth was false and it has been replaced with a more trust worthy one.

https://dl.dropboxusercontent.com/u/66928589/Photos/Script1.gif
https://dl.dropboxusercontent.com/u/66928589/Photos/Script2.gif
https://dl.dropboxusercontent.com/u/66928589/Photos/Script3.gif

A new demo will be available later today.