Forum: Poser - OFFICIAL


Subject: Bagginsbill or other guru - shader question

JoEtzold opened this issue on Dec 08, 2008 ยท 35 posts


JoEtzold posted Thu, 18 December 2008 at 12:46 PM

Hi Bagginsbill,

we are not so much different.

I also left the v-component untouched and wanted to get the u-offset from the bodysuit map instead of taking the fractal sum as a path. As seen in one of my pictures in middle.

Only I was in the opinion that the missing U value could be taken directly from the linein the map.
And found that the line was to wide. So needed is only, let's say 1 pixel in each row.

And that have to go as a x-coordinate into the process like given by the fractal sum.

In original the uv-map of the suit is 25002500 pixel (a V4 map according to that is original 30003000). You take the map from left to right (x-coordinate) as 0 to 1. So 1 means pixel 2500.
Than your line for the right leg seam is iterating between .23 and .29.
To understand if now I would make a line for the left leg I would end up round .55 to .65. This is roughtly estimated by view. Correct ?

And than you put this x coordinates into a greyscale image in vertical order. That's the point I didn't get. I would have done that in horizontal order thinking I would need the horizontal variation of the line.

So the main point is that the uv-map isn't useable in direct manner in the material. We first have to transpose the coordinate information from the uv-map to a new greyscale image.
This can be done only outside of poser by an supporting piece of software.
We have to count the pixel number in x direction and transform it to a most widely spread greyscale. In principle black is the most left position going to white as the most right position.

So you python script is mostly appreciated. I have VB and a graphical library for that on my puter. That should work easily on the same. Was for my last project, a program to measure the internals of a scanned cut tire section. Only a matter of mouse position and a bit pythagoras to get points and calculate length of line between given points.

So that should do the job in finding pixels and recalculating them.

Nice, very nice, seem's we are coming forward.

B.t.w. I'm really not bad in logical analytics. It's neccessary to see and understand customer's need if developing program's for that. I'm for sure a good software developer with databases and admistrative stuffs but would not be a good one for gaming software for example.

And here the connection or say the twist between 2D and 3D relations is not easy for me.

For example to have that pattern map in front and that pathworks stuff connected to these map was something new to me. Ok, I have read the documentation (not much about that) and tutorials to this theme.

But how do you find such idea's. Only as enthusiast with long trial and error experience in the first time or do you do this by profession having learned in some academic year's ?