I am wondering if someone could assist me with an issue I am encountering.
Some work colleagues have provided me with a DWG with a high resolution image to trace with paths. This high resolution image has been attached in CAD, and works there. However, when I open it in rhino, I see only white.
I am wondering if this is a resolution constraint of Rhino? When I drag it in as a picture; it gives the message: “The specified file cannot be identifed as a supported type.”
The first image below is in CAD, and the second in Rhino. You can see the texture is not being displayed.
I’m sure you have already tried tiling the image as a work around, although that might not help. Might be worth a try. As long as you don’t need it on a coordinate system, an image editing application could probably do that. If it needs to be on a coordinate system, I’m not sure AutoCAD could do the tiling but the application that generated the image might be able to do it.
My OpenGL also says 32768 as maximum texture size. However, I am able to do textures up to around 34,900 on a long edge, but not 35,000. I’m able to do around 710 megapixel images; or around 34,900 x 21,000 approximately, I don’t have the numbers exactly with me at the moment.
AutoCAD is able to handle up to any size within the JPEG limit it seems.
I wonder if there is any technical limitation dictating the relationship of what is the max size?
Perhaps it’s the total pixel count of 1,073,741,824 pixels? (32768 x 32768)
That depends on your timeline, I suppose.
The YT is in the “Core Architecture” subsystem, and that, to me, sounds like Rhino 10 at the earliest at this point. @stevebaer would have a better idea of what’s involved here…
-wim
Most applications that handle textures larger than gpu’s max (X x Y) will tile the images seamlessly with out you knowing it, so if you limit is 16384 x 16384 then a 32 768 x 32 768 image it will be four tiles at that size. (Or many more if the tile size is smaller) Photoshop does this too. Tiles can also be swapped out with lower res based on distance/size on screen to minimize memory use, depending on pipeline.
So your workaround for now is either split the image up into managable tiles and place multiple pictures or reduce it’s resolution so long edge is within your gpu’s limit in Rhino.
I think Rhino should be able to resize images larger than systems max size (and color depth) automatically on load time, but that’s up to the developers to handle though.