Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
create texture from UV mapping greater than 2048x2480
11-27-2013, 06:53 PM (This post was last modified: 11-27-2013 07:03 PM by micheus.)
Post: #5
RE: create texture from UV mapping greater than 2048x2480
oort, I can create one 4096x4096. Smile
It depends on your video card capability. But, you are sure when you say that someone "have to add this ability", because that is the limit (4096px).

From the auv_texture.erl
Code:
draw_options() ->
    [MaxTxs0|_] = gl:getIntegerv(?GL_MAX_TEXTURE_SIZE),
    MaxTxs = max(min(4096, MaxTxs0), 256),
as we can see, Wings gets the size information from the OpenGL (GL_MAX_TEXTURE_SIZE) and uses the minor value between 4096 and that one returned.


[edit]
oort, did you remember about this old thread we have worked: Jpeg resolution crash
Basically, when loading an image for image plane when it was bigger than the value of GL_MAX_TEXTURE_SIZE we need to resize it in order to avoid wings to crash.
Reply


Messages In This Thread
RE: create texture from UV mapping greater than 2048x2480 - micheus - 11-27-2013 06:53 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)