trancexx Posted December 25, 2009 Posted December 25, 2009 (edited) Sphere is probably one of the most important geometric entities in 3D modeling.OpenGL gives more than one way of rendering sphere. One is explained here since the sphere can be seen as the special case of the torus.Another way is to use available glu function. The name of the function is gluSphere.Description can be found here, and implementation in AutoIt in this example:H2O.zipExample is showing two molecules of water (red is oxygen, blue hydrogen). Since I'm not that good with chemistry it could be a little off. I hope you wouldn't mind. Snowman script is another example. Link to that script. Edited December 29, 2009 by trancexx ♡♡♡ . eMyvnE
KaFu Posted December 25, 2009 Posted December 25, 2009 Reaaally nice example... and still way over my head , lots of stuff to study! Thanks and have a nice Christmas... OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16)
trancexx Posted December 25, 2009 Author Posted December 25, 2009 Thanks KaFu, you too.I wrote flayouts didn't I? ♡♡♡ . eMyvnE
trancexx Posted December 29, 2009 Author Posted December 29, 2009 (edited) Snowman is like three balls, few buttons, carrot and stuff... I can draw that. See: If you would have any problems with the above script (wrong colors or something), try this one: Snowman3D2.zip Edited December 30, 2009 by trancexx ♡♡♡ . eMyvnE
monoceres Posted December 31, 2009 Posted December 31, 2009 My colors was messed up. Why? I would like to learn linear algebra someday. Do you know it? Broken link? PM me and I'll send you the file!
trancexx Posted December 31, 2009 Author Posted December 31, 2009 On 12/31/2009 at 1:49 AM, 'monoceres said: My colors was messed up. Why?I would like to learn linear algebra someday. Do you know it?I was trying to "compile" as much elements as I could with that script to reduce the CPU maximally. Since I'm in process of learning handling OpenGL hence often not knowing the outcomes of my actions, that lead to a total confusion of materials. Coincidentally, that code was and is working just fine on XP. Nevertheless, it seems wrong now.Algebra is boring and some parts of it tend to hurt my head. I love mathematical analysis and that part of mathematic though. ♡♡♡ . eMyvnE
Beege Posted January 2, 2010 Posted January 2, 2010 This is a sweet example! I do a lot of experiments with electrolysis of water and always wanted to make something showing the H20 molecule being split into hydrogen and oxygen. This will help so much if I every try to take a crack at it again. I'm also shocked to see how low the cpu is without any assembly. Thanks for sharing. Your scipts are the best to learn from. Assembly Code: fasmg . fasm . BmpSearch . Au3 Syntax Highlighter . Bounce Multithreading Example . IDispatchASMUDFs: Explorer Frame . ITaskBarList . Scrolling Line Graph . Tray Icon Bar Graph . Explorer Listview . Wiimote . WinSnap . Flicker Free Labels . iTunesPrograms: Ftp Explorer . Snipster . Network Meter . Resistance Calculator
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now