WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-24-2005, 08:24 AM
Johannes Johannes is offline
Member
 
Join Date: Jan 2005
Posts: 143
texture scaling

Hi,

attaching a measuring-tape-texture to a box looks blurry in vizard.

I attached it as a texture in 3D Studio Maxx - and it looks fine there.

Importing it as a wrl-File into vizard it looks kind of blurry - not as sharp as in the rendering of 3D Studio Max.

Vizard reports at the beginning:
Scaling image '../resources/joNew/050121_AritrackLayers1Red_0_200CroppedScaled.jpg' from (27880,878) to (2048,1024)

Any ideas how to improve sharpness in vizard?

Johannes
Reply With Quote
  #2  
Old 01-24-2005, 12:42 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

The texture is being scaled for two reasons.

1) OpenGL requires that the width and height of a texture be a power of two.

2) The size of the texture is larger than the maximum texture size allowed by your graphics card (usually 2048 or 4096)

If you want to use a very large texture the best thing to do is split it up into smaller textures and tile the textures on your object.
Reply With Quote
  #3  
Old 01-25-2005, 09:19 AM
Johannes Johannes is offline
Member
 
Join Date: Jan 2005
Posts: 143
Thank you very much, this helped.

Only if it takes very short time: Can you post a link where I could have found that, if I would have not had your help? (Like good Information to texture or openGL constraints). If you don't have it close buy I can try to find something myself, so not really necessary.
Reply With Quote
  #4  
Old 01-25-2005, 10:28 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

Here's a link to the OpenGL "Red Book". It is pretty much the official guide.

http://fly.cc.fer.hr/~unreal/theredbook/
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:08 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC