Sign in to follow this  
Followers 0
trancexx

Torus and some light

22 posts in this topic

#1 ·  Posted (edited)

It's OpenGL thematic.

Drawing torus is school for itself, everything else is too ;) .

Anyway, here's the script:

Torus2.zip

Another example here.

Sphere (link to example script) is a special case of torus.

Show off example. Here.

Special thanks to Mr. Maarten Kronberger.

Edited by trancexx

♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites



I swear it is a donut. ;)

Nice work as usual (applause)!

Thanks,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

Test it with x64. I'm curious.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

Test it with x64. I'm curious.

Seems to be working properly in my VM running Win7 x64!

UEZ

PS: Curiosity Killed the Cat


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

Okay-do, thanks.

...cats and their lives.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

Cool! I will be studying this to improve my OpenGL abilities (they are a bit lacking at the moment).

Edited by dantay9

[font="Verdana"] [size="2"]"[/size][/font]Failure is not an option -- it comes packaged with Windows"[font="Verdana"][size="2"] Gecko Web Browser[/size][/font][font="Verdana"][size="2"], [/size][/font][font="Verdana"][size="2"]Yahtzee![/size][/font][font="Verdana"][size="2"], Toolbar Launcher (like RocketDock)[/size][/font][font="Verdana"][size="2"]Internet Blocker, Simple Calculator, Local Weather, Easy GDI+ GUI [/size][/font][font="Verdana"][size="2"]Triangle Solver, TCP File Transfer, [/size][/font][font="Verdana"][size="2"]Valuater's Autoit Wrappers[/size][/font][font="Verdana"][size="3"][size="2"][size="2"]OOP In AutoIt[/size][/size][/size][/font][font="Verdana"][size="2"][size="1"]Using Windows XP SP3, 1GB RAM, AMD Athlon Processor @ 2.1 GHzCheck me out at gadgets.freehostrocket.com[/size][/size][/font]

Share this post


Link to post
Share on other sites

Cool! I will be studying this to improve my GDI+ abilities (they are a bit lacking at the moment).

GDI+? ;)

It is OpenGL!

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

Never seen a manually drawn donut, uhm sorry, torus before. Do a teapot next!


Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites

Oops. My bad. I meant OpenGL.


[font="Verdana"] [size="2"]"[/size][/font]Failure is not an option -- it comes packaged with Windows"[font="Verdana"][size="2"] Gecko Web Browser[/size][/font][font="Verdana"][size="2"], [/size][/font][font="Verdana"][size="2"]Yahtzee![/size][/font][font="Verdana"][size="2"], Toolbar Launcher (like RocketDock)[/size][/font][font="Verdana"][size="2"]Internet Blocker, Simple Calculator, Local Weather, Easy GDI+ GUI [/size][/font][font="Verdana"][size="2"]Triangle Solver, TCP File Transfer, [/size][/font][font="Verdana"][size="2"]Valuater's Autoit Wrappers[/size][/font][font="Verdana"][size="3"][size="2"][size="2"]OOP In AutoIt[/size][/size][/size][/font][font="Verdana"][size="2"][size="1"]Using Windows XP SP3, 1GB RAM, AMD Athlon Processor @ 2.1 GHzCheck me out at gadgets.freehostrocket.com[/size][/size][/font]

Share this post


Link to post
Share on other sites

Never seen a manually drawn donut, uhm sorry, torus before. Do a teapot next!

I wouldn't do that.

Ok, here's another example. You can move light by moving a mouse. It will follow it.

If you are under 18 please don't run this example because it involves what it involves (I wont tell what ;) ) and I don't want to be responsible for possible blindness caused by this. Consider yourself warned and enjoy.

Script:

Torus3.zip

Also I would like you not to comment sensitive parts. Thanks.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

I wouldn't do that.

:evil: :evil:

Ok, here's another example. You can move light by moving a mouse. It will follow it.

If you are under 18 please don't run this example because it involves what it involves (I wont tell what ;) ) and I don't want to be responsible for possible blindness caused by this. Consider yourself warned and enjoy.

Script:

Torus3.zip

Also I would like you not to comment sensitive parts. Thanks.

Am I weird for picturing a whole different scenario in my head before running the code? Edited by monoceres

Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites

At first I was skeptical that the script would be "sensitive" in nature. But then I said to myself....this is Tracexx. She has the ability and let's face it, she's posted some pretty crazy stuff. So I switched to my personal computer to view the script.....just in case.

Share this post


Link to post
Share on other sites

I lol'd^

Nice job. Next you should make a solar system, I think it would look pretty cool


0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e

Share this post


Link to post
Share on other sites

Am I weird for picturing a whole different scenario in my head before running the code?

Maybe. Maybe not.

Speaking of scenarios... did you watch Avatar?


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

Special case of torus is sphere.

Sphere.zip

Script uses mouse wheel too.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

Something like this can be drawn too:

Misc.zip

It includes both torus and sphere together with a cylinder (glu functions).


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

#19 ·  Posted (edited)

That is awesome. Everything works fine, but when I close by pressing the red x, I get an error message with a title of "autoit3.exe - Application Error" and the message is this:

The instruction at "0x69017cd0" referenced memory at "0x7379f508". The memory could not be "read". Click on OK to terminate the program.
Edited by dantay9

[font="Verdana"] [size="2"]"[/size][/font]Failure is not an option -- it comes packaged with Windows"[font="Verdana"][size="2"] Gecko Web Browser[/size][/font][font="Verdana"][size="2"], [/size][/font][font="Verdana"][size="2"]Yahtzee![/size][/font][font="Verdana"][size="2"], Toolbar Launcher (like RocketDock)[/size][/font][font="Verdana"][size="2"]Internet Blocker, Simple Calculator, Local Weather, Easy GDI+ GUI [/size][/font][font="Verdana"][size="2"]Triangle Solver, TCP File Transfer, [/size][/font][font="Verdana"][size="2"]Valuater's Autoit Wrappers[/size][/font][font="Verdana"][size="3"][size="2"][size="2"]OOP In AutoIt[/size][/size][/size][/font][font="Verdana"][size="2"][size="1"]Using Windows XP SP3, 1GB RAM, AMD Athlon Processor @ 2.1 GHzCheck me out at gadgets.freehostrocket.com[/size][/size][/font]

Share this post


Link to post
Share on other sites

That is awesome. Everything works fine, but when I close by pressing the red x, I get an error message with a title of "autoit3.exe - Application Error" and the message is this:

The instruction at "0x69017cd0" referenced memory at "0x7379f508". The memory could not be "read". Click on OK to terminate the program.

What you are experiencing should not be happening with the latest stable version of AutoIt. So the solution is just to download and install the latest AutoIt.

I can see through a wall of PE bricks ;)

But, of course, since you didn't provide any additional informations on your system or version of AutoIt running, I could be completely wrong (I often am).


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0