![]() |
|
#1
|
|||
|
|||
![]()
@ Vizmaster:
Hi, I'm not quite sure what you're trying to achieve... are you trying to put up like an "advertising" within Vizard where the images loop / change with time? 2k x 2k texture is way to huge for this purporse, I don't know what your spec is, but loading a 2k x 2k for something to be displayed for less than 20 sec is a waste of hardware resources (IMHO) May I suggest another method if you're doing an "Advertising" within vizard where the image changing over time... [1] Use jahshaka to string all the images together, create a movie file .avi or .mpg where each image will be diaplayed for only say .. 10 sec. [2] export this video at this res 512 x 384 pixels or lower [3] Apply this video file onto a quad / poly and loop it. I hope this helps/gives some ideas. Regards, Iwan Macquarie University |
#2
|
|||
|
|||
![]()
I am panning over a large panorama 50000x6000 pixels. Each tile represents 2kx2k portion of the entire image. Once the viewer is done with one image I want to display the next image in a timely manner. Currently an image can take up to 15 seconds to load. This is not acceptable for my needs. Therefore I plan on preloading the next image based on one of the methods I describe in this thread.
thanks for the ideas. Currently I am looking at still images. If I need motion I will keep your ideas in mind.
__________________
VizMaster ![]() |
#3
|
|||
|
|||
I've found ways to potentially speed up the loading time of the images and perform it asynchronously, while cutting down on the memory overhead. Do you need the entire image to be displayed at once, or can it show up in pieces as it is being loaded?
|
#4
|
|||
|
|||
I am displaying only 1024x768 at a time. However, since I don't know where I will be looking in the panorama when the next image comes up I would need to have the entire image available.
__________________
VizMaster ![]() |
#5
|
|||
|
|||
![]()
@ farshizzo:
My current machine is choking at 3k x 1k. If there is a way to display a hires texture in real time like you described earlier, I would like to learn as well. Regards, -e1- |
#6
|
|||
|
|||
![]()
Is it a single texture you are trying to make dynamic?
Are you showing a movie? Is it a 3D world that you are trying to navigate pass this large texture? At 3K you may be hitting the hardware limits of the graphics card. Most like 512,1024,2048 squares. In my reading I noticed that Vizard does handle odd shaped textures as well. What is the frame rate 30fps or 60fps? I have enclosed my scripts for tiling and displaying very large images. The displaying of an image is started by a mail event that includes a filename to display. Maybe these will spawn an idea for you.
__________________
VizMaster ![]() |
#7
|
|||
|
|||
As vizmaster already asked, is this a static texture or a dynamic texture that is being updated at some real-time rate? How much memory does your graphics card have?
If your graphics card supports texture compression, then you can greatly reduce the amount of texture memory required. However, texture compression will require your image dimensions to be a power of two (512,1024,2048,etc..) Here is sample code to compress a texture with the highest compression available: Code:
texture.compression(viz.COMPRESSION_DXT1) |
![]() |
|
|