USA Linux Users Group Forum Index
Log in Register FAQ Memberlist Search USA Linux Users Group Forum Index Album

Getting started with povray -- WARNING LARGE IMAGES !
Goto page 1, 2  Next
 
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Graphics Applications
View previous topic :: View next topic  
Author Message
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Wed Nov 02, 2024 5:43 am    Post subject: Getting started with povray -- WARNING LARGE IMAGES ! Reply with quote

Ok.... so, since i've spent an hour or so messing with this..... thought i'd share my findings......

I'm using mandriva 2024 FWIW.........

installing povray (as root ...)
Code:

urpmi povray-common
urpmi povray-official
urpmi povray-pvm


This installs povray.....
some samples are included HERE:
Code:

cd /usr/lib/povray31/scenes/advanced


To run the samples..... i had to be root .... as my user didn't have permission to execute in that directory.....however any povray scripts in my users home directory ran just fine as a normal user.

so...... as root.......
Code:

[root@localhost advanced]# x-povray -i chess2.pov

produces this in the terminal window.........
Code:

Persistence of Vision(tm) Ray Tracer Version 3.1g.Linux.gcc
  This is an unofficial version compiled by:
  Mandrakesoft SA...........................
  The POV-Ray Team(tm) is not responsible for supporting this version.
Copyright 1999 POV-Ray Team(tm)
Parsing Options
  Input file: chess2.pov (compatible to version 3.1)
  Remove bounds........On  Split unions........Off
  Library paths: /usr/lib/povray31 /usr/lib/povray31/include
Output Options
  Image resolution 320 by 240 (rows 1 to 240, columns 1 to 320).
  Output file: chess2.png, 24 bpp PNG
  Graphic display.....Off
  Mosaic preview......Off
  CPU usage histogram.Off
  Continued trace.....Off  Allow interruption...On  Pause when done.....Off
  Verbose messages....Off
Tracing Options
  Quality:  9
  Bounding boxes.......On  Bounding threshold: 25
  Light Buffer.........On  Vista Buffer.........On
  Antialiasing........Off
  Radiosity...........Off
Animation Options
  Clock value....   0.000  (Animation off)
Redirecting Options
  All Streams to console..........On
  Debug Stream to console.........On
  Fatal Stream to console.........On
  Render Stream to console........On
  Statistics Stream to console....On
  Warning Stream to console.......On


Parsing....................
High Quality focal blur used...
...chess2.pov:709: warning: CSG union unnecessarily bounded.

Focal blur is used. Standard antialiasing is switched off.

Creating bounding slabs.
Scene contains 9 frame level objects; 6 infinite.

Rendering...
Done Tracing
chess2.pov Statistics, Resolution 320 x 240
----------------------------------------------------------------------------
Pixels:           76800   Samples:          868376   Smpls/Pxl: 11.31
Rays:           1749183   Saved:             16978   Max Level: 5/5
----------------------------------------------------------------------------
Ray->Shape Intersection          Tests       Succeeded  Percentage
----------------------------------------------------------------------------
Box                            2912388          608501     20.89
Cone/Cylinder                  3345692          189013      5.65
CSG Intersection              40342802         5995653     14.86
CSG Union                     18470540         6102183     33.04
Plane                         94900750        55135859     58.10
Quadric                       19875884         6077217     30.58
Sphere                       107724618        10453206      9.70
Bounding Object               87899652         6001544      6.83
----------------------------------------------------------------------------
Calls to Noise:            5622411   Calls to DNoise:        5177830
----------------------------------------------------------------------------
Shadow Ray Tests:         10702044   Succeeded:               107253
Reflected Rays:             880807
----------------------------------------------------------------------------
Smallest Alloc:                 10 bytes   Largest:             8200
Peak memory used:           699672 bytes
----------------------------------------------------------------------------
Time For Parse:    0 hours  0 minutes   1.0 seconds (1 seconds)
Time For Trace:    0 hours  1 minutes  49.0 seconds (109 seconds)
    Total Time:    0 hours  1 minutes  50.0 seconds (110 seconds)
[root@localhost advanced]#                         

now when i do an ls of the directory..... chess2.png is there......

and it looks like this Smile --------------- >>>>>



_________________
Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11


Last edited by crouse on Wed Nov 02, 2024 6:16 am; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website AIM Address
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Wed Nov 02, 2024 6:08 am    Post subject: Reply with quote

Some of the demos i tried.........





I edited the woodbox.pov file........ and changed it just a bit........



_________________
Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
Back to top
View user's profile Send private message Visit poster's website AIM Address
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Wed Nov 02, 2024 6:16 am    Post subject: Reply with quote

ntreal.png


quilt1.png


skyvase.png


ionic5.png



_________________
Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
Back to top
View user's profile Send private message Visit poster's website AIM Address
Ageros
Advanced Member


Joined: 14 Oct 2024
Posts: 720
Location: Alafreakin'bama

PostPosted: Wed Nov 02, 2024 7:07 am    Post subject: Reply with quote

Renderers like POV-Ray, Mental Ray, and Brazil R/S are absolutely wonderful, but the fundamental flaw that most people overlook with all rendering is textures. If you guys want to do some great looking renders, pickup a program like deep paint for UV mapping and the like, thats where the real meat is.



_________________
Lappy: Ubuntu 7.04 and XP HE
Desktop: Ubuntu 7.04 and XP MCE
Back to top
View user's profile Send private message AIM Address MSN Messenger
sasha
Sr. Member


Joined: 05 Nov 2024
Posts: 1911
Location: Warsaw, Poland

PostPosted: Wed Nov 02, 2024 2:04 pm    Post subject: Reply with quote

I remember I had a blast playing around with Blender... Thinking of trying this
Thanks Crouse



_________________
OpenSUSE 11.1 kernel: 2.6.27.7-9-pae
Back to top
View user's profile Send private message
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Wed Nov 02, 2024 6:23 pm    Post subject: Reply with quote

On SUSE Linux.......

in konqueror:
file:/usr/share/doc/packages/povray/html/
file:/usr/share/doc/packages/povray/html/

Povray stuff is here :
/usr/share/povray-3.6/



_________________
Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
Back to top
View user's profile Send private message Visit poster's website AIM Address
sasha
Sr. Member


Joined: 05 Nov 2024
Posts: 1911
Location: Warsaw, Poland

PostPosted: Wed Nov 02, 2024 7:26 pm    Post subject: Reply with quote

Thanks crouse Very Happy



_________________
OpenSUSE 11.1 kernel: 2.6.27.7-9-pae
Back to top
View user's profile Send private message
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Wed Nov 02, 2024 7:32 pm    Post subject: Reply with quote

One of my suse installs.... it's in /usr/share/povray-3.5/
so, basically, it's in /usr/share somewhere Wink Laughing



_________________
Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
Back to top
View user's profile Send private message Visit poster's website AIM Address
crudball
Advanced Member


Joined: 01 Sep 2024
Posts: 892
Location: Stratford - U.K

PostPosted: Wed Nov 02, 2024 7:40 pm    Post subject: Reply with quote

[root@rob:/home/rob]$ urpmi povray-common
no package named povray-common
hmm....?



_________________
I'm back Smile
Back to top
View user's profile Send private message Send e-mail MSN Messenger
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Wed Nov 02, 2024 8:48 pm    Post subject: Reply with quote

just try urpmi povray ...... see what packages it lists.....

I had added some rpm repositories in my list..... so that's probably where i grabbed em from Wink



_________________
Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
Back to top
View user's profile Send private message Visit poster's website AIM Address
crudball
Advanced Member


Joined: 01 Sep 2024
Posts: 892
Location: Stratford - U.K

PostPosted: Thu Nov 03, 2024 4:57 pm    Post subject: Reply with quote

how do you add more repositories ?



_________________
I'm back Smile
Back to top
View user's profile Send private message Send e-mail MSN Messenger
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Thu Nov 03, 2024 5:18 pm    Post subject: Reply with quote

http://easyurpmi.zarb.org/
go there and follow the directions... Wink



_________________
Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
Back to top
View user's profile Send private message Visit poster's website AIM Address
crudball
Advanced Member


Joined: 01 Sep 2024
Posts: 892
Location: Stratford - U.K

PostPosted: Thu Nov 03, 2024 5:19 pm    Post subject: Reply with quote

Very Happy Very Happy Very Happy Very Happy



_________________
I'm back Smile
Back to top
View user's profile Send private message Send e-mail MSN Messenger
crudball
Advanced Member


Joined: 01 Sep 2024
Posts: 892
Location: Stratford - U.K

PostPosted: Thu Nov 03, 2024 7:14 pm    Post subject: Reply with quote

ok i've done that and installed povray Very Happy



_________________
I'm back Smile
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Ageros
Advanced Member


Joined: 14 Oct 2024
Posts: 720
Location: Alafreakin'bama

PostPosted: Thu Nov 03, 2024 8:28 pm    Post subject: Reply with quote

I think you'd be better off with Blender. Unforunately last time I used blender they didn't have a native global illumination engine, and you had to use radiosity to fake it. Man I wish they'd incorporate mental ray into their system....mmmmm mental ray. ^_^



_________________
Lappy: Ubuntu 7.04 and XP HE
Desktop: Ubuntu 7.04 and XP MCE
Back to top
View user's profile Send private message AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Graphics Applications All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All content © 2024-2009 - Usa Linux Users Group
This forum is powered by phpBB. © 2024-2009 phpBB Group
Theme created by phpBBStyles.com and modified by Crouse