WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-08-2006, 10:04 AM
vizmaster vizmaster is offline
Member
 
Join Date: Aug 2006
Posts: 27
Only part of tiled image

I am trying to display a 50000 x 6000 image. I have tiled the image into 2048x2048 jpg tiles. With texture compression set to COMPRESSION_ARB they load correctly. With this removed I get blank textures. See attached image.
I have tried PCs with more graphics memory and RAM with the same result.

Here is the tiling code:

Code:
for v in range(0, vTiles):
	for h in range(0, hTiles):
		
		quad = viz.add(viz.TEXQUAD)
		quad.translate(h-hTiles/2.0, -(v-vTiles/2.0), 4.0) 
		
		counter += 1
		fileName = 'crop_' + '%02d' % counter + '.jpg'
		
		texture = viz.add(fileName)
#		texture.compression(viz.COMPRESSION_ARB)
		texture.wrap(viz.WRAP_S,viz.CLAMP_TO_EDGE)
		texture.wrap(viz.WRAP_T,viz.CLAMP_TO_EDGE)

		quad.texture(texture)
Attached Thumbnails
Click image for larger version

Name:	greece.jpg
Views:	2371
Size:	51.5 KB
ID:	118  
Reply With Quote
 

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 09:33 PM.


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