Author Topic: setSortOffset?  (Read 3661 times)

Offline John Tribe

  • byte
  • *
  • Posts: 17
  • I love games
    • View Profile
setSortOffset?
« on: March 03, 2013, 06:25:53 pm »
When i load object from 3ds file everything is great, but when i serialize and deserialize i have this problem with transparency and setSortOffset?.

I think the problem is with the 3ds file it has some information that is lost after deserialization and after deserialization it has errors in graphic (transparent some polygons in some angle).

and when i try set sort offset (-2000f)(dont know why must be negative ) on the transparent objects in scene they are visible even shadowed by other textures.

issue simillar to this one:
http://www.jpct.net/forum2/index.php/topic,1292.msg8846/topicseen.html#msg8846
Best game prices in http://games2see.com

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: setSortOffset?
« Reply #1 on: March 04, 2013, 06:53:12 pm »
I fail to see any relation between deserializing a model and sorting problems. And i think that you haven't got the idea behind setSortOffset right. Giving all transparent objects the same offset doesn't make any sense. Maybe you can post a screen shot of the actual problem?

Offline John Tribe

  • byte
  • *
  • Posts: 17
  • I love games
    • View Profile
Re: setSortOffset?
« Reply #2 on: March 31, 2013, 12:36:17 am »
im stupid.
i set transparency to all object, after loading. 
Best game prices in http://games2see.com