Skip to content

traviscarrigan/ImageToPointwise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageToPointwise

Glyph script imports images into Pointwise and renders the RGB data using either points or coons patches.

ScriptImage

Obtaining RGB Data

Before running the script, RGB data must be obtained from an image. Using the PNM, Netpbm superformat, RGB data can be recovered from an image. The following command was used to generate the sample.rgb data in the rgb/ directory. The original image can be found in the images/ directory.

pngtopnm -plain sample.png > sample.rgb

Usage

To run the script, simply specify the path of the image in the script, as well as whether points or cells should be used to render each pixel. Cells take much longer to generate than points because of the way they are constructed.

About

Import images into Pointwise.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published