Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 14
Posts: 14   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 4195 times and has 13 replies Next Thread
hansmex
Advanced Member
Member's Avatar

Netherlands
Joined: Sep 26, 2009
Post Count: 3991
Status: Offline
Reply to this Post  Reply with Quote 
Bug in textures?

Emmanuel,

Today I downloaded and installed SH3D 3.7 and the Texture Editor 1.0.
I made a SH3T file with a number of textures using the Editor, and imported it in SH3D. All works well, so far.

I then applied a few random textures on a box, and noticed that with some textures the box turns transparent when seen from certain angles. I checked, and found that these are PNG files. I attach the file that shows this.

I have used these textures before and never noticed this behaviour.

Hans
----------------------------------------
Attachment bug transparent texture.sh3d (909362 bytes) (Download count: 358)

----------------------------------------
Hans

new website - under constuction
hansdirkse.info
[Oct 26, 2012, 2:41:13 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9420
Status: Offline
Reply to this Post  Reply with Quote 
Re: Bug in textures?

Thank you for your feedback, Hans. smile

I also noticed some weird issues with some texture images when they use transparency, and this problem was already there in version 3.1 when I added support for transparent PNGs. sad
I think it's due to OpenGL or maybe the library that calls OpenGL, so it will be almost impossible to fix, and you should use transparent PNGs only when necessary.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Oct 26, 2012, 8:46:48 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Gaytan
Member




Joined: Oct 8, 2012
Post Count: 42
Status: Offline
Reply to this Post  Reply with Quote 
Re: Bug in textures?

Could this have to do as well with e.g. the cylinder; when looking from it from 'Visitor' mode, it shows squared at the bottom, whilst being a round cylinder…

Rounded walls really show as 'round' at the bottom but cylinder(s) look squared at 'ground level'….

Rgrds,
Ed
[Oct 26, 2012, 10:56:07 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
hansmex
Advanced Member
Member's Avatar

Netherlands
Joined: Sep 26, 2009
Post Count: 3991
Status: Offline
Reply to this Post  Reply with Quote 
Re: Bug in textures?

Emmanuel,

Maybe I didn't explain well, but these textures don't use transparency as far as I can see. (I checked in Gimp.)
Still, they look transparent from certain angles.

H
----------------------------------------
Hans

new website - under constuction
hansdirkse.info
[Oct 26, 2012, 12:45:30 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9420
Status: Offline
Reply to this Post  Reply with Quote 
Re: Bug in textures?

Ed, I don't think it's the same issue as the one you described. The issue you talk about, is due to the way surface vertices and surface normals are designed in a 3D model made only of triangles. Posting an image showing what you want to explain would definitively help to remove doubts about your explanations.

Hans, the texture image applied on the bookcase defines a transparent color. Maybe this color is not actually used in the image, but the issue is that Java considers it as potentially transparent though. When removing all information about transparency, the problem you reported disappears.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Oct 26, 2012, 2:20:13 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
hansmex
Advanced Member
Member's Avatar

Netherlands
Joined: Sep 26, 2009
Post Count: 3991
Status: Offline
Reply to this Post  Reply with Quote 
Re: Bug in textures?

E,

But it's the cube that's transparent...
Do I understand you incorrectly? Or maybe you me?

H
----------------------------------------
Hans

new website - under constuction
hansdirkse.info
[Oct 26, 2012, 4:45:54 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9420
Status: Offline
Reply to this Post  Reply with Quote 
Re: Bug in textures?

Strange!?!
On my computer, the cube doesn't show any problem. sad
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Oct 26, 2012, 4:57:30 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Gaytan
Member




Joined: Oct 8, 2012
Post Count: 42
Status: Offline
Reply to this Post  Reply with Quote 
Re: Bug in textures?

Hi Emmanuel,

Here's the link / picture. It shows clearly at the 'bottom of the cylinder', where it sits on the ground, so to speak:

http://cl.ly/image/390J2z25021e

wink
Ed
[Oct 26, 2012, 9:36:39 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Gaytan
Member




Joined: Oct 8, 2012
Post Count: 42
Status: Offline
Reply to this Post  Reply with Quote 
Re: Bug in textures?

Hi Emmanuel,

Me again; since last screendump I played with 'extending the floor (terrace)' over the cylinder and .... now it shows round at the base:

http://cl.ly/image/0K2L0S0e290m

Typical, or ....?

Best regards,

Ed
[Oct 26, 2012, 9:43:11 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9420
Status: Offline
Reply to this Post  Reply with Quote 
Re: Bug in textures?

Ed, your cylinder seems to be at lower level and/or inside a hole.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Oct 26, 2012, 9:44:28 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 14   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved