• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Interface & Usage v
« Previous 1 … 25 26 27 28 29 … 32 Next »
create texture from UV mapping greater than 2048x2480

 
  • 0 Vote(s) - 0 Average
create texture from UV mapping greater than 2048x2480

micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,684
Threads: 185
Joined: Jun 2012
#5
11-27-2013, 06:53 PM (This post was last modified: 11-27-2013, 07:03 PM by micheus.)
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.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
create texture from UV mapping greater than 2048x2480 - by fetitxe - 11-27-2013, 12:16 PM
RE: create texture from UV mapping greater than 2048x2480 - by oort - 11-27-2013, 06:08 PM
RE: create texture from UV mapping greater than 2048x2480 - by fetitxe - 11-27-2013, 06:26 PM
RE: create texture from UV mapping greater than 2048x2480 - by oort - 11-27-2013, 06:43 PM
RE: create texture from UV mapping greater than 2048x2480 - by micheus - 11-27-2013, 06:53 PM
RE: create texture from UV mapping greater than 2048x2480 - by oort - 11-27-2013, 07:03 PM
RE: create texture from UV mapping greater than 2048x2480 - by micheus - 11-27-2013, 07:20 PM
RE: create texture from UV mapping greater than 2048x2480 - by fetitxe - 11-27-2013, 08:10 PM
RE: create texture from UV mapping greater than 2048x2480 - by Justanother1 - 12-06-2013, 04:45 AM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode