Hard Light Productions Forums

Off-Topic Discussion => Arts & Talents => Topic started by: Petrarch of the VBB on April 08, 2003, 01:27:44 pm

Title: Half a glass of water (WIP)
Post by: Petrarch of the VBB on April 08, 2003, 01:27:44 pm
Here we are, half a glass of water, as made in, wait for it....POVRAY!

(http://www.3dap.com/hlp/hosted/14_year_war/PoVBB/halfglasswater2.jpg)
Title: Half a glass of water (WIP)
Post by: Sheepy on April 08, 2003, 01:30:33 pm
....it looks ..... odd, what would be cool is if you had half the water ... oh and a background :D
Title: Half a glass of water (WIP)
Post by: Petrarch of the VBB on April 08, 2003, 01:47:37 pm
I did say that its a WIP, I can't get the water to work yet, as transparency buggers me around.

I'm working on a background.
Title: Half a glass of water (WIP)
Post by: Sheepy on April 08, 2003, 01:57:53 pm
Well i didnt know what you were planning on doing with it so i ws just throwing in my comments :D
Title: Half a glass of water (WIP)
Post by: karajorma on April 08, 2003, 02:02:44 pm
It took me a few seconds to spot what was wrong with the image. Your shadow isn`t refracting properly through the glass! :)

Anyway I guess you already noticed that :)
Title: Half a glass of water (WIP)
Post by: Petrarch of the VBB on April 08, 2003, 02:09:09 pm
It's because the inner surface of the glass has a different texture to the outer. The inner ne does not have all the glass properties, merely filter transparency.
Title: Half a glass of water (WIP)
Post by: Nico on April 08, 2003, 02:56:03 pm
povray? heh, thumbs up then :)
Title: Half a glass of water (WIP)?
Post by: SKYNET-011 on April 08, 2003, 03:46:39 pm
LOL :lol:
Title: Half a glass of water (WIP)
Post by: Petrarch of the VBB on April 09, 2003, 06:33:48 am
I am having severe problems with the water. I am building a full glass now, and make the water as a solid cylinder, with a glass texture. It's fine outside the glass, but when I put it inside it turns to a solid block of darkness. Could this be because POV cannot support more than three layers of transparancy?

I'll post images tonight to demonstrate this.
Title: Half a glass of water (WIP)
Post by: Solatar on April 09, 2003, 10:30:15 am
Looks kinda cool...
Title: Half a glass of water (WIP)
Post by: Petrarch of the VBB on April 09, 2003, 01:10:13 pm
Thank you, sah!

Now then, here be the glass and the water separate. Note that they are fine.

(http://www.3dap.com/hlp/hosted/14_year_war/PoVBB/glass_and_water_sep.jpg)

And here is what happens when I try and put the water in the glass.

(http://www.3dap.com/hlp/hosted/14_year_war/PoVBB/water_in_glass.jpg)
Title: Half a glass of water (WIP)
Post by: Sheepy on April 09, 2003, 02:07:30 pm
Looks about right, its just your glass is too dark i think
Title: Half a glass of water (WIP)
Post by: Sandwich on April 09, 2003, 03:01:46 pm
Quote
Originally posted by Petrarch of the VBB
(http://www.3dap.com/hlp/hosted/14_year_war/PoVBB/glass_and_water_sep.jpg)


How'd you do that?!? The water - it's just... staying there! It's not splashing all over the table and running on the floor! :confused: :confused: :eek:
Title: Half a glass of water (WIP)
Post by: Petrarch of the VBB on April 10, 2003, 04:49:08 am
Quote
Originally posted by Sheepy
Looks about right, its just your glass is too dark i think


Ive tried it with a completely transparent glass, and it still gives that result!
Title: Half a glass of water (WIP)
Post by: Nico on April 10, 2003, 05:22:16 am
Quote
Originally posted by Sandwich


How'd you do that?!? The water - it's just... staying there! It's not splashing all over the table and running on the floor! :confused: :confused: :eek:


idiot :lol:
Title: Half a glass of water (WIP)
Post by: Petrarch of the VBB on April 10, 2003, 05:23:45 am
Quite dense. :D
Title: Half a glass of water (WIP)
Post by: J.F.K. on April 10, 2003, 05:33:54 am
Quote
Originally posted by Sandwich


How'd you do that?!? The water - it's just... staying there! It's not splashing all over the table and running on the floor! :confused: :confused: :eek:


Must be magic ;)
Title: Half a glass of water (WIP)
Post by: Gortef on April 10, 2003, 06:03:10 am
I... I... IT'S BLACK MAGIC!!! Burn him! :shaking:

Heh, you did that in PovRay, that deserves a thumbs up :nod::yes:
Title: Half a glass of water (WIP)
Post by: Petrarch of the VBB on April 10, 2003, 03:10:15 pm
Thank you!

If anyone's interested I'll post the code.
Title: Half a glass of water (WIP)
Post by: Stryke 9 on April 10, 2003, 03:56:42 pm
It's probably because POVray, like most progs, treats multimaterial refraction all wrong. Set it up so that the "water" is just the top cap of the cylinder, rather than the whole thing, and see how that looks.

That, or delete the inside of the cup where it connects to the water part- that's actually the much better way of going about it (scientifically more accurate, too), just might be harder to pull off in an alg modeler like POVray. I dunno.
Title: Half a glass of water (WIP)
Post by: Petrarch of the VBB on April 11, 2003, 05:09:31 am
The water doesn't actually touch the inside of the glass. The inner radius of the glass in 0.95 whatevers, and the water is 0.94999999.

Any other ideas on how I could make the glass, other than using CSG to subtract the inner cylinder from the outer?
Title: Half a glass of water (WIP)
Post by: vyper on April 11, 2003, 05:20:40 am
Can I just say: Bloody hell! Thats good for Povray.
Title: Half a glass of water (WIP)
Post by: Nico on April 11, 2003, 06:22:38 am
Quote
Originally posted by Petrarch of the VBB
The water doesn't actually touch the inside of the glass. The inner radius of the glass in 0.95 whatevers, and the water is 0.94999999.

Any other ideas on how I could make the glass, other than using CSG to subtract the inner cylinder from the outer?


that's not the pb. having two reflection/refraction materials overlaping ( even if they're not "touching" themselves as you point out -which means nothing for 3d anyway- ) usually leads to pbs. plus it makes render times awfully longer.
Title: Half a glass of water (WIP)
Post by: Petrarch of the VBB on April 11, 2003, 01:44:08 pm
Well then how do I fix it?
Title: Half a glass of water (WIP)
Post by: an0n on April 11, 2003, 01:57:55 pm
For a start, make it half-empty.
Title: Half a glass of water (WIP)
Post by: Petrarch of the VBB on April 11, 2003, 02:01:00 pm
Or half full?
Title: Half a glass of water (WIP)
Post by: an0n on April 11, 2003, 02:03:11 pm
Trust me, it's half-empty.
Title: Half a glass of water (WIP)
Post by: kasperl on April 12, 2003, 02:55:42 am
no, the cup is twice the size it's supposed to be. :doubt:
Title: Half a glass of water (WIP)
Post by: Petrarch of the VBB on April 12, 2003, 01:39:32 pm
Agreed.

But does no-one know how to fix it? One of you must have the arcane skills of POVRAY!
Title: Half a glass of water (WIP)
Post by: Odyssey on April 13, 2003, 07:51:33 am
I have no idea how you would fix this.
But on an interesting and marginally related note:

1/2empty=1/2full
---------| x2
---empty=full

:p
Title: Half a glass of water (WIP)
Post by: neo_hermes on April 13, 2003, 12:34:38 pm
:wtf: :lol:
Title: Half a glass of water (WIP)
Post by: Petrarch of the VBB on April 13, 2003, 02:30:51 pm
Interesting logic there, Odyssey.
Title: Half a glass of water (WIP)
Post by: Odyssey on April 13, 2003, 02:33:32 pm
Why thankyou. If we ignore the fact that one involves counting up from 0 and the other involves counting down from 1, it even makes sense :p
Title: Half a glass of water (WIP)
Post by: Petrarch of the VBB on April 13, 2003, 02:41:21 pm
Well then it can't be good.

sense? We'll have none of that!
Title: Half a glass of water (WIP)
Post by: Odyssey on April 13, 2003, 02:44:13 pm
But without sense we would not be able to see the nature of water in 3D programs... And that would be a pity :(
Title: Half a glass of water (WIP)
Post by: Petrarch of the VBB on April 13, 2003, 02:53:13 pm
Sense has no place in my world! it has been replaced by sence!
Title: Half a glass of water (WIP)
Post by: Odyssey on April 13, 2003, 02:55:43 pm
http://dictionary.reference.com/search?q=sence
ARGH!
Title: Half a glass of water (WIP)
Post by: WMCoolmon on April 13, 2003, 03:31:07 pm
Odyssey is correct...it's spelled seance (http://dictionary.reference.com/search?q=seance&r=2).
Title: Half a glass of water (WIP)
Post by: Odyssey on April 13, 2003, 03:36:58 pm
This is, like, dictionary word association, isn't it? Wow...
Friend of mine did that on an electronic thesaurus once. Managed to get from Agnostic to Fruit in 10 seconds flat...
Title: Half a glass of water (WIP)
Post by: Petrarch of the VBB on April 14, 2003, 02:13:27 pm
HOW?
Title: Half a glass of water (WIP)
Post by: Odyssey on April 14, 2003, 03:17:55 pm
Don't ask me... Ask the thesaurus. There's a path somewhere... It just got slowly further and further from the original until it got to a string of things with more than one meaning, after which it got messy.
Title: Half a glass of water (WIP)
Post by: Stryke 9 on April 14, 2003, 03:20:24 pm
Some thesauruses are just that bad. Try the MS Word one for kicks some time.
Title: Half a glass of water (WIP)
Post by: Odyssey on April 14, 2003, 03:25:12 pm
It's not that the thesaurus is bad, it's that the english language is seriously messed up. With different meanings for the same word, you can go off on a tangent anywhere.
Title: Half a glass of water (WIP)
Post by: YodaSean on April 14, 2003, 10:51:07 pm
I just tried it.  I coudn't find fruit from agnostic :(   I got as far as "box somebody's ears" though. :)
Title: Half a glass of water (WIP)
Post by: Petrarch of the VBB on April 16, 2003, 01:41:49 pm
Quote
Originally posted by Stryke 9
Some thesauruses are just that bad. Try the MS Word one for kicks some time.


I've been known to do that in boring Business GNVQ lessons before know...