Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

An update to Anim8or, v1.00b, is available with a few bug fixes. Get your copy HERE. See the "ReadMe" file for details.

Pages: [1] 2

Author Topic: how to make glass?  (Read 9074 times)

fireking2009

  • Newbie
  • *
  • Posts: 10
  • hey people!im new here
    • View Profile
how to make glass?
« on: April 19, 2009, 08:48:32 pm »

how do i make glass?please post :o
Logged
FireKing :)

floyd86

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1056
    • View Profile
    • http://youtube.com/profile?user=floyd386
Re: how to make glass?
« Reply #1 on: April 19, 2009, 09:11:31 pm »

You can make a glass material by lowering to transperancy. Glass normally has a transperancy of about 0.3 to 0.4.
Using ART attributes you can make real time refractions and reflections.

Read more about it here: Materials, ART Attributes.

fireking2009

  • Newbie
  • *
  • Posts: 10
  • hey people!im new here
    • View Profile
Re: how to make glass?
« Reply #2 on: April 30, 2009, 11:50:50 am »

thanks floyd! :)
Logged
FireKing :)

Ratticis

  • Jr. Member
  • **
  • Posts: 86
  • NOW WITH 90% MORE AWESOME!
    • View Profile
Re: how to make glass?
« Reply #3 on: May 01, 2009, 01:40:02 am »

I found this extreamly usefull as well
http://anim8ormaterials.bravehost.com/
Logged

Arik_the_Red

  • Sr. Member
  • ****
  • Posts: 760
  • Just another aninoob...
    • View Profile
    • śwakened!
Re: how to make glass?
« Reply #4 on: May 02, 2009, 05:17:51 am »

I haven't mucked with the ART glass effect either... I copied the sample of green glass things and opened it with anim8or, trying both 97a and 97d, but both show all the objects' texturing as simply transparent shapes with a surface shine.

What am I missing that should be set to bring about the greenish warped refraction?  I'd like to implement the effect for a soda bottle and some salt/pepper and sugar shakers.
Logged

Dreadkb

  • Full Member
  • ***
  • Posts: 108
    • View Profile
Re: how to make glass?
« Reply #5 on: May 02, 2009, 02:30:34 pm »

Make sure your render is set to ART Ray Trace, not scan line. render > renderer > ART Ray Trace, ok
Logged

floyd86

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1056
    • View Profile
    • http://youtube.com/profile?user=floyd386
Re: how to make glass?
« Reply #6 on: May 02, 2009, 06:06:13 pm »

I haven't mucked with the ART glass effect either... I copied the sample of green glass things and opened it with anim8or, trying both 97a and 97d, but both show all the objects' texturing as simply transparent shapes with a surface shine.

What am I missing that should be set to bring about the greenish warped refraction?  I'd like to implement the effect for a soda bottle and some salt/pepper and sugar shakers.

It's all about the attributes applied to the material. Open the material window and you will see a button called 'attributes'. Here you can add attributes to your material. i.e. the attribute 'class' with the string value 'dielectric' will give a glass like refraction to the material. Using the 'IOR' attrbutes with changing int values you can alter the refraction: 1 = no refractions, 1.4-1.6 = glass, 2.5 = diamond and so on.

More about the ART attributes: http://anim8or.com/download/preview/art_raytracer.html
More about IOR values: http://blenderartists.org/forum/showthread.php?t=71202

Arik_the_Red

  • Sr. Member
  • ****
  • Posts: 760
  • Just another aninoob...
    • View Profile
    • śwakened!
Re: how to make glass?
« Reply #7 on: May 03, 2009, 12:53:32 am »

Hey Floyd! I did a bit of "monkeying around" with the green-glass spheres and prism file... using that set of texture/material I modeled a bottle, with an inner and outer lining and also a "soda" to see what would come of it...

The inner bottle sections are smoothe, basic bottle form, while I decided to "bump" the outer section, sort of Coke-but-not-Coke in looks...

I think if I make the inner "soda" area smaller the glass of the bottle will stand out more...


I suppose I should make the top.

second render... increased size of outer "bumpy glass"



Also, I haven't finished off the top, so the bottle doesn't have its proper lip yet...

Took about 15 minutes to render each time.

And here's the "empty" bottle... by far the longest render time... I dunno for sure, somewhere between 15 mins and 30....


« Last Edit: May 03, 2009, 03:06:48 am by Arik_the_Red »
Logged

floyd86

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1056
    • View Profile
    • http://youtube.com/profile?user=floyd386
Re: how to make glass?
« Reply #8 on: May 03, 2009, 10:42:41 am »

Nice bottle arik. Maybe a background (default groundplane?) will make the refractions stand out even more!

Arik_the_Red

  • Sr. Member
  • ****
  • Posts: 760
  • Just another aninoob...
    • View Profile
    • śwakened!
Re: how to make glass?
« Reply #9 on: May 03, 2009, 07:36:27 pm »

And here, final form of the bottle I want to use... Will get it in a scene, incorporating with my diner work...

I had to increase the green to get it to look right. 


Now to make the bottle cap and labeling :D Taking it back to my "Noon Diner" thread for further "Show and Tell."
Logged

Dreadkb

  • Full Member
  • ***
  • Posts: 108
    • View Profile
Re: how to make glass?
« Reply #10 on: May 04, 2009, 02:27:22 am »

Think you IOR might be a bit too high atm. Thickness and shape looks good.
Logged

Jdez

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • Tech Blog
Re: how to make glass?
« Reply #11 on: May 04, 2009, 02:46:59 am »

Could someone please tell me how to get the ART renderer? i am a newb and dont know anything... ???
Logged
Having fun with ASL!
Tech blog: http://jaydez-tech.blogspot.com

Jdez

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • Tech Blog
Re: how to make glass?
« Reply #12 on: May 04, 2009, 02:56:52 am »

Oh sorry i know the answer to that now...
Logged
Having fun with ASL!
Tech blog: http://jaydez-tech.blogspot.com

Arik_the_Red

  • Sr. Member
  • ****
  • Posts: 760
  • Just another aninoob...
    • View Profile
    • śwakened!
Re: how to make glass?
« Reply #13 on: May 04, 2009, 01:20:57 pm »

Think you IOR might be a bit too high atm. Thickness and shape looks good.

I put "AniNoob for Life" on my siggy because sometimes I think I have a permanent handicap in this area... So, assume I'm in the "Special Education" Department?  ;)  What is "IOR" and how do I adjust it....?

Also, here's a "stages of the bottle" from the point where I finished the basic bottle, then started to make the bumpy-bits and twists.... plus the "inner soda" and "bottle cap" off to the side.  As you see, I made the bottle "inside and out", so as to get the look of an "empty" if I wanted it without the soda.

« Last Edit: May 04, 2009, 02:05:48 pm by Arik_the_Red »
Logged

kreator

  • Hero Member
  • *****
  • Posts: 1113
  • Anim8or, Blender, & Carrara. A Great Combination!
    • View Profile
    • Anim8orWorld
Re: how to make glass?
« Reply #14 on: May 04, 2009, 08:48:41 pm »

I haven't mucked with the ART glass effect either... I copied the sample of green glass things and opened it with anim8or, trying both 97a and 97d, but both show all the objects' texturing as simply transparent shapes with a surface shine.

What am I missing that should be set to bring about the greenish warped refraction?  I'd like to implement the effect for a soda bottle and some salt/pepper and sugar shakers.

It's all about the attributes applied to the material. Open the material window and you will see a button called 'attributes'. Here you can add attributes to your material. i.e. the attribute 'class' with the string value 'dielectric' will give a glass like refraction to the material. Using the 'IOR' attrbutes with changing int values you can alter the refraction: 1 = no refractions, 1.4-1.6 = glass, 2.5 = diamond and so on.

More about the ART attributes: http://anim8or.com/download/preview/art_raytracer.html
More about IOR values: http://blenderartists.org/forum/showthread.php?t=71202

I think floyd mentioned Index of refraction Arik, just add IOR to your list of attributes then the appropriate float value 1.4? 1.5? perhaps you could find a Indices table by googling.
« Last Edit: May 04, 2009, 08:51:40 pm by kreator »
Logged
O
Pages: [1] 2