SU Podium Forum
Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment   Page 1 of 2      1   2   Next
vette01_er

Registered:
Posts: 127
Reply with quote  #1 
hi guys,

i know i know another clipmap question and im sure ill get flack for it but i can not for the life of me figure it out. 

i save the jpeg file and the clipmap file to the same folder.  i import the jpeg file as an image to a vertical surface, explode it then regroup it.  the background is transparent but there is a border, thats not my problem really.  so the background is transparent until i render it then i get a render with a nice tree with a background with no transparency!!  wtf am I doing wrong here.

i know everyones gonna say check the other tutorials and the FAQ's page but i already have checked every single one and none have helped me, or im just too stupid to figure them out so if someone wouldnt mind lending some great, detailed advice to my situation id greatly appreciate it.  thank you all who help.


vette01_er

Registered:
Posts: 127
Reply with quote  #2 

o and also of course the shadows come out as a block instead of a tree, which ive seen posts with this same issue i just couldnt figure out how to fix it from those previous posts.  thank again

bigstick

Moderator
Registered:
Posts: 11,604
Reply with quote  #3 
What format are the clipmaps? How have you named them?

__________________


Aut viam inveniam aut faciam
Hannibal Barca


______________________________________

This is what I do in my day job

vette01_er

Registered:
Posts: 127
Reply with quote  #4 
well, ive tried them as pngs, and as jpegs, and i didnt rename the ones i downloaded off of some of the clipmap threads, i used the one labeled tree22 i think, anyways i tried pngs and jpegs, i tried using as textures and images, just nothing seems to work.


i hope i answered your question right
Tyro

Avatar / Picture

Storyteller
Registered:
Posts: 877
Reply with quote  #5 
"i save the jpeg file and the clipmap file to the same folder."
 
Did you save both texture files (texture.png and texture_clipmap.png) into the podium/textures folder? If not, do so.

__________________
"... and they rendered happily ever after."
simon

Registered:
Posts: 14
Reply with quote  #6 
Hi,

I work on a pc at home, an office pc and a laptop depending where I am on that day. I have my materials file saved on each location and also a usb memeory device. ie different paths. Is this a problem ?

If for instance I produce a model in SU and add materials then decide when i get home that I want to take it into Podium, I guess i would need to make bumps for each of the materials used and save them in the same file as the materials, but this is file is back in my office.
Should i save materials / bumps / clipmaps etc in the default su/podium directorys which always have the same path ?

Simon


__________________
Simon
Tyro

Avatar / Picture

Storyteller
Registered:
Posts: 877
Reply with quote  #7 

Yes, simon, it's highly recommended to save your textures to the podium/textures folder (at least the ones with bumpmaps and clipmaps) ... this way you get sure they work properly.


__________________
"... and they rendered happily ever after."
Stu

Avatar / Picture

Garden Master
Registered:
Posts: 488
Reply with quote  #8 

"Yes, simon, it's highly recommended to save your textures to the podium/textures folder (at least the ones with bumpmaps and clipmaps) ... this way you get sure they work properly."

Is there a reason for this?........up until now I have had my clipmaps everywhere but.......on a flash drive, My Docs, etc. and dont seem to have had any trouble.

__________________
http://www.landesign.com.au
Tyro

Avatar / Picture

Storyteller
Registered:
Posts: 877
Reply with quote  #9 

Stu, if it works for you, keep it like it is, but if someone has got trouble with bumpmaps or clipmaps it's easiest to exclude any kind of error that might have to do with wrong folder structure or something like that ...


__________________
"... and they rendered happily ever after."
brown91

Registered:
Posts: 27
Reply with quote  #10 

vette,

I am not sure that totally understand what you are doing, but let me explain what has worked for me.

first I place my clipmap and image in the same folder and make sure they are named correctly.

next, I create a vertical face in su.  the size doesnt have to be all that accurate at this point.  I normally make a face that is 20' wide x 30' tall.

next, I import and paint that face with the clipmap image.  I always import the image with the "Use as texture" radio button selected.  It may work without that being selected, but I have never tried it.  Why? I dont know. lol

next, I import and paint the same face with the jpg image.  Paint over the clipmap image, and again, with the "Use as texture" radio button selected. I also make sure that the scale of this images matches the scale of the clipmap image.

next, I move the edges of the top and side of the face so that the rectangular face is larger than the image you would like to have shown.

next, I use the freehand tool and roughly trace around the perimeter of the tree image you would like to see, and erase the remaining unwanted faces and edges of the original rectangular face.  you should be left with a face that is slightly larger and roughly the shape of the tree image.  This is what creates the shadows for the tree when you render it.

The next thing I normally do is turn that face into a "always face camera" component.

paste away, and it should render fine.

There are probably better ways of doing this, and there may be shortcuts, but this has always worked for me.  Hope this helps

edit: see stu's explanation below for a better method!

omrigaron

Avatar / Picture

Registered:
Posts: 167
Reply with quote  #11 

great explaination, i was having trouble but never wanted to ask since its been explained several times. now im going to have start using clipmaps instead of adding them in post

Stu

Avatar / Picture

Garden Master
Registered:
Posts: 488
Reply with quote  #12 
Wow, looks there are a thousand ways to use clipmaps!
Could I just say that the above explaination is fine for making cutouts but that the process can be simplified considerably if the main aim is to render an model with imported images.

OK this is how I do it:
1. Image and correctly named clipmap in same folder.
2. Import image as 'image'
3. Find a vertical edge to adhere the image to and expand to an editable size.....I find it better not to set it on a face.
4. Move the image so it is free of geometry, explode it and then group it [can be moved and edited more easily if grouped].
5. Use the scale function to to re-size the image to your requirements.
6. Move the image to its position and rotate it to face the camera. 

Shadows are going to look better if the sun is coming over your shoulder rather than from the side [where the shadows will end up like a pencil line.]

And vette01_er, by the sound of it you are doing all of the above but I'm curious when you say the  jpeg mask is transparent when you import it...normally mine are black until rendered.

Stu


__________________
http://www.landesign.com.au
brown91

Registered:
Posts: 27
Reply with quote  #13 
thanks for the explanation stu.  You know, as many times as I have used clipmaps, I never knew that they would create their own shadows in podium.  I could have sworn that when I first started using them they would clip the image but would not create the shadows correctly.  Or maybe I just assumed they worked the way the same way as they do in su. (how embarassing! )

At any rate I think it is worth noting that my way of doing clipmaps is wrong, even if it does work in the end.

To anyone that reads my earlier post, disregard it!  Use the method that Stu has outlined.  It takes a lot less effort and the results are the same.
vette01_er

Registered:
Posts: 127
Reply with quote  #14 
o stu...  and everyone else trying to help...    im sorry, its just not working, i have no freaking clue what to do.  ok, sorry stu i made a mistake when i import the tree png or jpeg it has a white background.  are you sure i have to do nothing with the clipmap, a previous thread said podium would automatically pick up the clipmap? 

anyway.  i dont know.  i import as an image and if it doesnt have a surface built behind it then it wont cast any kind of shadow nor will it get picked up by podium at all.  when i import as texture, even if the tree fits the surface perfectly when i render it it comes out as millions of tiny trees!!  i understand why the shadow wouldnt work therebecause there is a surface that the texture is applied, so im almost positive that using the texture thing wont work.

so, what else can i say?   are you supposed to be able to import a jpeg and not do anything with the clipmap?  are you supposed to put the two images in a sketchup or podium folder??  can i (if done properly) import a clipmap, and have it automatically cast a shadow of the tree, for example, without having to cut all the background out!??  is there anyone that would be willing to maybe have a phone conversation with me to get this figured out, i know that could make people uncomfortable so i understand if no one wants to but i need some help!!  so thank you all who are trying to help me, even though im obviously stupid when it comes to this, but i think its a great podium feature that i really want to explore.  thanks again.
Stu

Avatar / Picture

Garden Master
Registered:
Posts: 488
Reply with quote  #15 

Phew!

There is only a couple of things to worry about
1. Put the image and the clipmap in the same folder
[so you would have....e.g. ..bazookaz.jpeg [the image] and bazookaz_clipmap]
Now forget all about the clipmap.

2. Import the image...tick 'use as image'
Follow as laid out above [the image BTW can gave a a black or white mask.]
If you set the sun as I mentioned the shadows will look after themselves.

See in the attached images how the shadows change ...from none...to the square mask...to the image shadow only.
The middle image BTW is the first in the process.

And finally, I'm not sure if this clipmap facility was availabe before version 1.5.......so you are using this latest release?




__________________
http://www.landesign.com.au
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.