UV textures

Raylectron (http://Raylectron.com) is a 3D rendering engine for Trimble Sketchup (http://sketchup.com)
Post Reply
User avatar
GSTUDIOS
Posts: 39
Joined: Mon May 15, 2017 2:14 pm
Location: ON, Canada

UV textures

Post by GSTUDIOS »

UV mapped textures created with quad face tools (SketchUp Pro 2017) are read as thousands of textures when opening in Raylectron - is this normal / efficient? (about 10 curved components with 1000+ faces each)

Are there ways to reduce number of textures significantly?
Peter J Garland
GARLAND STUDIOS
Est. 1980

https://www.linkedin.com/in/peter-garla ... 351/?ppe=1

User avatar
Support
Site Admin
Posts: 1892
Joined: Sun Oct 02, 2011 10:49 am

Re: UV textures

Post by Support »

The reason is because they are exported as triangles and each have a deformed texture. Do you have a screen shot of the shape?
Your support team.
http://SoftByteLabs.com

User avatar
GSTUDIOS
Posts: 39
Joined: Mon May 15, 2017 2:14 pm
Location: ON, Canada

Re: UV textures

Post by GSTUDIOS »

FIREPLACE_wide_block_single_f2.png
Peter J Garland
GARLAND STUDIOS
Est. 1980

https://www.linkedin.com/in/peter-garla ... 351/?ppe=1

User avatar
Support
Site Admin
Posts: 1892
Joined: Sun Oct 02, 2011 10:49 am

Re: UV textures

Post by Support »

The image did not upload
Your support team.
http://SoftByteLabs.com

User avatar
GSTUDIOS
Posts: 39
Joined: Mon May 15, 2017 2:14 pm
Location: ON, Canada

Re: UV textures

Post by GSTUDIOS »

I saw it in preview - is there a size limit (mine was 1.3MB)?
FIREPLACE_wide_block_single_f2.png
FIREPLACE_wide_block_single_f2.png (1.35 MiB) Viewed 8950 times
Peter J Garland
GARLAND STUDIOS
Est. 1980

https://www.linkedin.com/in/peter-garla ... 351/?ppe=1

User avatar
Support
Site Admin
Posts: 1892
Joined: Sun Oct 02, 2011 10:49 am

Re: UV textures

Post by Support »

oh ok, if you use ThruPaint on them, they may turn out ok, but the problem is painting a sphere like object will distort the texture to fit the poles, that's why you get a bunch of little texture per triangle.
Your support team.
http://SoftByteLabs.com

User avatar
GSTUDIOS
Posts: 39
Joined: Mon May 15, 2017 2:14 pm
Location: ON, Canada

Re: UV textures

Post by GSTUDIOS »

I am planning on reducing the number of faces by a factor of 2 / 4 and soften them more to achieve a reasonable balance for the texture folder size - is that the best option?
Peter J Garland
GARLAND STUDIOS
Est. 1980

https://www.linkedin.com/in/peter-garla ... 351/?ppe=1

User avatar
Support
Site Admin
Posts: 1892
Joined: Sun Oct 02, 2011 10:49 am

Re: UV textures

Post by Support »

no I wouldn't do this, I would try with ThruPaint instead, it's free. Have you tried it before?
Your support team.
http://SoftByteLabs.com

User avatar
Support
Site Admin
Posts: 1892
Joined: Sun Oct 02, 2011 10:49 am

Re: UV textures

Post by Support »

another thing you can do is paint it with the normal SKP paint, once exported in Raylectron, edit the material and on the texture icon, right click on it and select "Recreate UV" then adjust the texture size and direction, maybe that will work much better, you won't get all these little texture, just one.
Your support team.
http://SoftByteLabs.com

User avatar
GSTUDIOS
Posts: 39
Joined: Mon May 15, 2017 2:14 pm
Location: ON, Canada

Re: UV textures

Post by GSTUDIOS »

I was using thru paint, but I got some texture distortion (stretching) on tight curved surfaces.
Peter J Garland
GARLAND STUDIOS
Est. 1980

https://www.linkedin.com/in/peter-garla ... 351/?ppe=1

User avatar
GSTUDIOS
Posts: 39
Joined: Mon May 15, 2017 2:14 pm
Location: ON, Canada

Re: UV textures

Post by GSTUDIOS »

Ok - I will try recreate UV in Raylectron.

Thanks.
Peter J Garland
GARLAND STUDIOS
Est. 1980

https://www.linkedin.com/in/peter-garla ... 351/?ppe=1

User avatar
Support
Site Admin
Posts: 1892
Joined: Sun Oct 02, 2011 10:49 am

Re: UV textures

Post by Support »

yes that's normal, it's like trying to cover the object with a cloth, without folding or cutting the tight spots so it fits. Have you tried my other suggestion?
Your support team.
http://SoftByteLabs.com

User avatar
GSTUDIOS
Posts: 39
Joined: Mon May 15, 2017 2:14 pm
Location: ON, Canada

Re: UV textures

Post by GSTUDIOS »

Tried recreate UV in RL - works okay, except softening of faces is lost somehow?
BOWL_globe_6.2.png
BOWL_globe_6.2.png (984.64 KiB) Viewed 8946 times
Peter J Garland
GARLAND STUDIOS
Est. 1980

https://www.linkedin.com/in/peter-garla ... 351/?ppe=1

User avatar
Support
Site Admin
Posts: 1892
Joined: Sun Oct 02, 2011 10:49 am

Re: UV textures

Post by Support »

have you made sure the object is grouped in SKP? if not, the smooth UV will not be exported, skp bug.
Your support team.
http://SoftByteLabs.com

User avatar
GSTUDIOS
Posts: 39
Joined: Mon May 15, 2017 2:14 pm
Location: ON, Canada

Re: UV textures

Post by GSTUDIOS »

Recreate UV seems quite good - I do see a few seems - does the textured map correctly across right angle surfaces?
Peter J Garland
GARLAND STUDIOS
Est. 1980

https://www.linkedin.com/in/peter-garla ... 351/?ppe=1

User avatar
Support
Site Admin
Posts: 1892
Joined: Sun Oct 02, 2011 10:49 am

Re: UV textures

Post by Support »

It does it's best to map it without seems but on some surfaces, you will see them, nothing can be done about this, like I said, it's the same as if you take a patterned towel for example and try to wrap a sphere with it, you're not going to be able to get a 100% texture wrap without deforming it.
Your support team.
http://SoftByteLabs.com

Post Reply