It is currently Tue Jul 23, 2024 6:12 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 106 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: Re: Povsphere.
PostPosted: Fri Jun 15, 2012 8:33 am  (#61) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12535
Limits to density then with Script-fu. Still, what you have done is darn pretty cool. Thanks again Kevin. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Povsphere.
PostPosted: Fri Jun 15, 2012 10:30 am  (#62) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
@lylejk

i have for POV ray the same diffidence you have for 3D fractal sw, basically i fear to complex to use or a sort of command line app

I am wrong ? oris possible do something alike without have first to read POV user manuals, guide or tutorials ?

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Povsphere.
PostPosted: Fri Jun 15, 2012 10:32 am  (#63) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
I hate POVray too PC. Download Kevin's scm - works without that horrible program.


Top
 Post subject: Re: Povsphere.
PostPosted: Fri Jun 15, 2012 11:06 am  (#64) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
not sure if i hate i never used, but i am very diffident
and i hate the idea to have to give console input to a 3d program.

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Povsphere.
PostPosted: Fri Jun 15, 2012 11:15 am  (#65) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
lylejk wrote:
Limits to density then with Script-fu. Still, what you have done is darn pretty cool. Thanks again Kevin. :)

Not necessarily...

I have to check what I've done actually using POVRay, but I have now managed to make a scene file with 17000+ objects. :)



@Photocomix. POVRay works with what it calls scene description files, which at it's most basic are just a series of object definitions:

"sphere { <0,0,0> 5}" means draw a sphere at 0,0,0 with a radius of 5

Kevin


Top
 Post subject: Re: Povsphere.
PostPosted: Fri Jun 15, 2012 11:41 am  (#66) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
paynekj wrote:
Finally for today, one small tweak - I rotated the hex-prisms so that they interlock
Kevin


Brilliant!

This is starting to look like the map I made a while back (with POV as well) starting in gimp, moving through inkscape, then POV render and back to Inkscape for labeling:
Attachment:
labeled_1.png
labeled_1.png [ 2.54 MiB | Viewed 1348 times ]


-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: Povsphere.
PostPosted: Fri Jun 15, 2012 11:44 am  (#67) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
PhotoComix wrote:
not sure if i hate i never used, but i am very diffident
and i hate the idea to have to give console input to a 3d program.


Well I love 3D software but I really don't know why POV ray exists! To be honest, I'd rather buy a lump of clay, make something with it and stick it to my computer screen.


Top
 Post subject: Re: Povsphere.
PostPosted: Fri Jun 15, 2012 12:58 pm  (#68) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12535
What's cool with POVRay Erisian is it's Ray tracing ability. You can do your work in a 3D app and port it to POVRay to get some cool results. Maybe some 3D apps have a decent Ray Tracing interface, but from what little I've seen with POVRay use from my recent cram session (lol), that's POVRay's main purpose and why it still exists. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Povsphere.
PostPosted: Fri Jun 15, 2012 1:00 pm  (#69) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12535
paynekj wrote:
lylejk wrote:
Limits to density then with Script-fu. Still, what you have done is darn pretty cool. Thanks again Kevin. :)

Not necessarily...

I have to check what I've done actually using POVRay, but I have now managed to make a scene file with 17000+ objects. :) .......
Kevin


Let me know when you are ready to release this new update Kevin. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Povsphere.
PostPosted: Fri Jun 15, 2012 1:18 pm  (#70) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
Here we go then, version 0.2...
Attachment:
gimp_test7.jpg
gimp_test7.jpg [ 276.13 KiB | Viewed 1332 times ]
2856 hexagonal prisms

I've tried my best to fix the crash when there are lots of samples, but I can't guarantee it wont happen again - it seems that the sample data is being corrupted, just try running it again.

I've changed where it registers in the menu- now my standard "contributed" location. I've also made the "draw samples" option draw hexagons, squares and rotated squares.
Example of purely in-GIMP layer:
Attachment:
140_P1030062-new_sml_hex.jpg
140_P1030062-new_sml_hex.jpg [ 214.93 KiB | Viewed 1332 times ]


Unless anyone has any more requirements/suggestions, I'll leave it at this. (You know I'm going to think of something else in the next 5 minutes ;) )

Kevin


Attachments:
kp24_pov_samples.scm [19.84 KiB]
Downloaded 128 times
Top
 Post subject: Re: Povsphere.
PostPosted: Fri Jun 15, 2012 2:17 pm  (#71) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12535
Definitely cool stuff Kevin, but, I have a few questions. First, where's Captain Kirk and also where's the location of VGER. lol

:)


Attachments:
gimppr.png
gimppr.png [ 525.21 KiB | Viewed 1504 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Povsphere.
PostPosted: Fri Jun 15, 2012 4:37 pm  (#72) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14728
Location: USA
Very nicely done Kevin. Thank you so much. :)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Povsphere.
PostPosted: Fri Jun 15, 2012 5:36 pm  (#73) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
lylejk wrote:
Definitely cool stuff Kevin, but, I have a few questions. First, where's Captain Kirk and also where's the location of VGER. lol
:)

Well Captain Kirk was recently spotted presenting Have I got News for you and VGER - 1 & 2 are currently a long way from home. ;)


For a process that's basically geometry, it can lead to a surprisingly impressionistic outcome:
Image
Which is this
Image
Sample Radius: 10
Object: cylinder
Packing: tight
Modifier: xy-scale::brightness
Multiplier: 5

Kevin


Top
 Post subject: Re: Povsphere.
PostPosted: Fri Jun 15, 2012 10:51 pm  (#74) 
Offline
GimpChat Member
User avatar

Joined: Apr 18, 2011
Posts: 620
Location: New York
paynekj wrote:
Here we go then, version 0.2...
Attachment:
gimp_test7.jpg
2856 hexagonal prisms

I've tried my best to fix the crash when there are lots of samples, but I can't guarantee it wont happen again - it seems that the sample data is being corrupted, just try running it again.

I've changed where it registers in the menu- now my standard "contributed" location. I've also made the "draw samples" option draw hexagons, squares and rotated squares.
Example of purely in-GIMP layer:
Attachment:
140_P1030062-new_sml_hex.jpg


Unless anyone has any more requirements/suggestions, I'll leave it at this. (You know I'm going to think of something else in the next 5 minutes ;) )

Kevin

does this script only work with gimp 2.8?

I'm getting "crash" messages

_________________
Ubuntu 22.04, Kernel i686, 5.15.0-107-generic
python3 v3.10.12 ----- GIMP - ver 2.10.30


Top
 Post subject: Re: Povsphere.
PostPosted: Fri Jun 15, 2012 11:12 pm  (#75) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12535
That's where I'm running it Cecilia; there is an error consol screen that pops up saying it's finished but it hasn't crashed on me since I updated the latest. Though it took a while, I just did an ove 12,000 object file (just a test; not showing) and it worked quite well. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Povsphere.
PostPosted: Sat Jun 16, 2012 1:33 am  (#76) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
cecilia wrote:
does this script only work with gimp 2.8?

I'm getting "crash" messages


I've not tried it on 2.8, I've only run it in 2.6 but I don't know of any reason it wouldn't work for 2.8.

What are the crash messages you're getting?

Kevin

Image


Top
 Post subject: Re: Povsphere.
PostPosted: Sat Jun 16, 2012 8:53 am  (#77) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12535
That scull is just too cool Kevin. lol

Definitely looks like it could be the Elephant Man's (Joseph (John) Merreck) skull. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Povsphere.
PostPosted: Sat Jun 16, 2012 9:54 am  (#78) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12535
What the hey; still enjoying your Script-fu Kevin. Did the marble and gloss in GIMP (with help from G'MIC) since I still don't know 3d all that well. :)

ref: http://www.sxc.hu/photo/941938

Image

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Povsphere.
PostPosted: Sat Jun 16, 2012 5:03 pm  (#79) 
Offline
GimpChat Member
User avatar

Joined: Apr 18, 2011
Posts: 620
Location: New York
paynekj wrote:
cecilia wrote:
does this script only work with gimp 2.8?

I'm getting "crash" messages


I've not tried it on 2.8, I've only run it in 2.6 but I don't know of any reason it wouldn't work for 2.8.

What are the crash messages you're getting?

Image

_________________
Ubuntu 22.04, Kernel i686, 5.15.0-107-generic
python3 v3.10.12 ----- GIMP - ver 2.10.30


Top
 Post subject: Re: Povsphere.
PostPosted: Sat Jun 16, 2012 5:12 pm  (#80) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12535
I believe I know your issue Cecilia. What you need to do first is, where you want the file to be created, you need to right click and create a new text file but save it as filename.pov (where filename is the name that you want your file to be). I usually do this at the desktop. Then, when you run the Script-fu, you browse to where this file is and click it (use the Script-fu interface to do this). Then run it. If you don't do this, the Script-fu will run, but no file gets saved (well it does get saved, but the file will be named (null) and will be located at your main user directory). :)

_________________
Lyle

Psalm 109:8

Image


Top
Post new topic Reply to topic  [ 106 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group