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 » Mon Sep 18, 2017 1:35 pm

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: 1822
Joined: Sun Oct 02, 2011 10:49 am

Re: UV textures

Post by Support » Mon Sep 18, 2017 1:40 pm

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 » Mon Sep 18, 2017 1:45 pm

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: 1822
Joined: Sun Oct 02, 2011 10:49 am

Re: UV textures

Post by Support » Mon Sep 18, 2017 1:46 pm

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 » Mon Sep 18, 2017 1:50 pm

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 6029 times
Peter J Garland
GARLAND STUDIOS
Est. 1980

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

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

Re: UV textures

Post by Support » Mon Sep 18, 2017 1:54 pm

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 » Mon Sep 18, 2017 2:00 pm

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: 1822
Joined: Sun Oct 02, 2011 10:49 am

Re: UV textures

Post by Support » Mon Sep 18, 2017 2:03 pm

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: 1822
Joined: Sun Oct 02, 2011 10:49 am

Re: UV textures

Post by Support » Mon Sep 18, 2017 2:05 pm

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 » Mon Sep 18, 2017 2:06 pm

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 » Mon Sep 18, 2017 2:08 pm

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: 1822
Joined: Sun Oct 02, 2011 10:49 am

Re: UV textures

Post by Support » Mon Sep 18, 2017 2:09 pm

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 » Mon Sep 18, 2017 2:24 pm

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 6025 times
Peter J Garland
GARLAND STUDIOS
Est. 1980

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

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

Re: UV textures

Post by Support » Mon Sep 18, 2017 2:25 pm

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 » Mon Sep 18, 2017 3:10 pm

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: 1822
Joined: Sun Oct 02, 2011 10:49 am

Re: UV textures

Post by Support » Mon Sep 18, 2017 3:48 pm

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