IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topicStart Poll

Outline · [ Standard ] · Linear+

> The beauty of code...

Slace
post Sep 24 2004, 10:24 AM
Post #1


nFm [ Level 1 ]
***

Group: Private Member
Posts: 248
Joined: 21-March 04
Member No.: 52



Well... I've finished my povray assignment for uni. 623 lines of code to produce this:

http://slace.sytes.net:65/uni/389/Ass3-final.png

took just under 40 min to render that. Rather happy with it indeed ;)


--------------------
bash-2.05$ cd /pub
bash-2.05$ more beer
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
mcelb1200
post Sep 25 2004, 01:12 AM
Post #2


nFm [ Level 1 ]
***

Group: Full Member
Posts: 240
Joined: 29-April 04
From: Melbourne, Australia
Member No.: 94



that's one nice piece of ass - final!


--------------------
user posted image
... just let me see if I can get that log out of your eye...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Bdn
post Sep 25 2004, 09:44 AM
Post #3


nFm [ progressor ]
**

Group: Full Member
Posts: 172
Joined: 28-March 04
Member No.: 75



Oooer Makes me wish I could code... Im too dumb for that though. :(

Nice work there.


--------------------
Formerly M0RPhEuS ..for some reason. Things we do when younger.
user posted image
user posted image
user posted image
user posted image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
optomos
post Sep 25 2004, 05:21 PM
Post #4


nFm [ Level 1 ]
***

Group: Full Member
Posts: 296
Joined: 14-August 04
From: ATL
Member No.: 144



Holy shitzu!! that is sick. How long did it take you to write the code?


--------------------
--How few our real wants, and how vast our imaginary ones!--
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Slace
post Sep 26 2004, 02:02 AM
Post #5


nFm [ Level 1 ]
***

Group: Private Member
Posts: 248
Joined: 21-March 04
Member No.: 52



took about 3 days to write that. It was just so fidely, placing the object, moving it, placing, moving, etc

Anyone who's done povray will know my pain :P


--------------------
bash-2.05$ cd /pub
bash-2.05$ more beer
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Shoe
post Sep 26 2004, 05:37 AM
Post #6
Pacman Champion!


Shoe Industries
**

Group: Private Member
Posts: 72
Joined: 18-March 04
Member No.: 20



Can I see the code? :lol: Im serious btw :D


--------------------
Nexside Technology - Nexside.tk
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Slace
post Sep 28 2004, 02:35 AM
Post #7


nFm [ Level 1 ]
***

Group: Private Member
Posts: 248
Joined: 21-March 04
Member No.: 52



here's how to make the pool:

CODE

#declare Pool = //This is all the parts that make the pool. It could have been done with a box with a difference but it was made before i fully understood it and well it worked :P
union {
       object { //left
               box {
                       <50,0,100>,<70,20,1000>
                       pigment{
                            bumps color_map{[0.0 Black][1.0 White]}
                            scale 0.24
                       }                
               }                    
       }
       object { //back
               box {
                       <50,0,1000>,<650,20,920>
                       pigment{
                            bumps color_map{[0.0 Black][1.0 White]}
                            scale 0.24
                       }                
               }
       }
       object { //right
               box {
                       <570,0,920>,<650,20,100>
                       pigment{
                               bumps color_map{[0.0 Black][1.0 White]}
                               scale 0.24
                       }                
               }  
       }
       object { //front
               box {
                       <50,0,100>,<570,20,180>
                       pigment{
                               bumps color_map{[0.0 Black][1.0 White]}
                               scale 0.24
                       }                
               }
       }
       object { //water
               box {
                       <70,3,120>,<570,3,920>
                       material { Pool_Water_Material }
               }
       }
       object { //the water material i used was very transperent, so this just gives the illusion of depth by adding a darker blue under the water
               box {
                       <70,1,120>,<570,1,920>
                       pigment { color rgb <0,0,0.35> }                  
               }
       }
       difference {  //spa, every pool needs a spa. Also fills in the back area of the scene
               cylinder {
                       <300,0,1080><300,30,1080>,100                      
                       pigment{
                               bumps color_map{[0.0 Black][1.0 White]}
                               scale 0.24
                       }
               }
               cylinder {  //the inside of the spa
                       <300,0,1060><300,31,1060>,80
               }
       }
       cylinder {  //the spa's water
               <300,0,1060><300,20,1060>,80
               material { Pool_Water_Material }
       }
       cylinder { //some color to give the spa depth
               <300,0,1080><300,20,1080>,80
               pigment { color rgb <0,0,0.35>}
       }                                                
}


--------------------
bash-2.05$ cd /pub
bash-2.05$ more beer
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
hoioyske
post Oct 2 2004, 06:39 PM
Post #8


Mr. Happy Meal
**

Group: Private Member
Posts: 98
Joined: 19-March 04
Member No.: 44



Interesting. Looks great for an all code project, I really like the shaders.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
TWINE006
post Oct 25 2004, 08:06 PM
Post #9


Narcissism Incarnate
****

Group: Private Member
Posts: 475
Joined: 18-March 04
Member No.: 25



That's really awesome considering how it was made. Helluva lot better than I could do, let's say that. I like the rainbowish band thing myself.

Nice rendering time btw. :P


--------------------
You can win a thousand battles but you can still only lose one.
user posted image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicTopic OptionsStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
 

Lo-Fi Version Time is now: 16th May 2024 - 09:23 AM