Posts tagged ‘Rendering’

concatenate (join together) several *.pdf files

pdf is a document format. there are occasions where I find it easier to work with one large document rather than several single documents (most recently, while working with several spec sheets for electronic components), the following command will join two or more *.pdfs into a single document using ghostscript.

gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=OUTPUT.pdf INPUT01.pdf INPUT02.pdf ...

-dBATCH - exit after last file
-dNOPAUSE - no pause after page
-q - “quiet”, fewer messages
-sDEVICE=<devname> - select device, in this case the pdf writer
-sOutputFile=<file> - select output file

the following were not, but could be, included:
-g<width>x<height> - page size in pixels
-r<res> - pixels/inch resolution

Animated Flag

an example of the cloth and wind effects available in Blender 2.45

Blender just keeps getting better…

converting *.pdf to an image series

pdf is a document format. on the occasion where it is easier to reference an image rather than the full document, the following command will convert the pdf.

convert -density 96x96 -trim INPUTFILE.pdf OUTPUTFILE.jpg

-density is the image density in pixels per square inch
-trim will trim the image edges

the output will be in the form of OUTPUTFILE-#.jpg, where # is an increasing “page” number.
this command will also work for OUTPUTFILE.png, OUTPUTFILE.gif, et. al..

also, imagemagick uses ghostscript to convert, so the quality of the final images will only be as good as ghostscript can provide.

Eagle3D Component - Simple Jumpers

some very simple jumpers for Eagle3D, I tend to use a lot of them due to single-sided board restrictions.

the include file, to be placed in “[Eagle3D Root]/povray” and added to “[Eagle3D Root]/povray/user.inc”. see this post for details.
user_jumper.inc

 

and the associated images (to be placed in “[Eagle3D Root]/ulp/img” to aid in identification, optional):

Zip archive of images

and as requested, a rendered image and an example board:
Wire Jumpers

Example Wire Jumper Board(jumper.brd)

additionally, if the correct user functions can not be found (or you would rather not look for them),
the following lines can be manually added to “EAGLE_ROOT/ulp/3dusrpac.dat”:

05:0:0:0:0:0:0:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:USER_WIREJUMPER_05MM(:USER_WIREJUMPER_05MM:
07:0:0:0:0:0:0:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:USER_WIREJUMPER_07MM(:USER_WIREJUMPER_07MM:
10:0:0:0:0:0:0:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:USER_WIREJUMPER_10MM(:USER_WIREJUMPER_10MM:
12:0:0:0:0:0:0:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:USER_WIREJUMPER_12MM(:USER_WIREJUMPER_12MM:
15:0:0:0:0:0:0:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:USER_WIREJUMPER_15MM(:USER_WIREJUMPER_15MM:

Update:
The above file is incompatible with newer versions of eagle. If you get errors with user_jumper.inc, try the following file:
user_jumper-54.inc
and adding #include “user_jumper-54.inc” rather than #include “user_jumper.inc” to /povray/user.inc

Eagle3D Component - LCD Module

this is a rendering of an Eagle3D component in progress, an LCD module that is part of a set of several text-based modules.

LCD_16×2-top

as requested, the required files:
HD44780 Based LCD Modules Library (lcdmodules.lbr)
user.inc
user_colors.inc
user_lcd.inc
alphalcd.ttf

the lib file should go in your eagle “lbr” directory, and the inc and ttf files should go in your eagle3D “povray” directory.

a word of warning, thes are in pretty rough shape, but usable.
the include files follow the proposed rules in this post, so if you have made any changes to your user.inc, be sure to merge the files.

alternately, you can simply add the following lines to your user.inc:

#include "user_colors.inc"
#include "user_lcd.inc"

happy designing, and any comments or suggestions are welcome.

An Animated Yin-Yang

Rendering of a printed circuit board

Rendering of a printed circuit board

First decent version


with the full version here.

ActionScript based clock

a simple analog clock based on shapes.

download

all the ActionScript is all contained in a single file: Clock.as
this is added into the movie with #include “Clock.as” on the frame level

if there is interest, I’ll rewrite this as an object, add a few more options, and improve the script a bit.

it can be made small
(Either JavaScript is not active or you are using an old version of Adobe Flash Player. Please install the newest Flash Player.)

or large
(Either JavaScript is not active or you are using an old version of Adobe Flash Player. Please install the newest Flash Player.)

Renderings of the Puzzle-Box From the Hellraiser Series

an initial rendering to check for lighting and placement


 
 
after rebuilding and cleaning the meshes (and a few tweeks on lighting)

 
 
more streamlining of the meshes and animation, and if it were constructed of aluminum.

 
 
the textures are tedious, excessive time must be spent either setting them up within Blender, or designing them outside of it.
given that it is far too easy (for me at least) to do something horribly wrong while editing the maps within Blender, I chose a method using the “excessive design” approach. the map specifics are exported to SVG, then edited, then converted to PNG via a script for Blender to import.
I’ve also divided the meshes a bit more, and added more animation.

a Flash dice roller

a Flash dice roller using custom-rendered virtual dice.
(Either JavaScript is not active or you are using an old version of Adobe Flash Player. Please install the newest Flash Player.)

of course, this could be customized to match a particular sort of roll and style of game.
the next version contains the ability to set all of the attributes from the HTML page, and to send the results back to it’s containing HTML page.

for example, in firewater productions’s game “Chaos University”, the standard is 5 dice:
(Either JavaScript is not active or you are using an old version of Adobe Flash Player. Please install the newest Flash Player.)

Spherical Heightmap Rendering

a video of the rendering series

a single image of the rendering
sphere-heightmap-earth-04.jpg

a single image of the rendering with some special effects
sphere-heightmap-earth-05.jpg

Dice Set Rendering

A series of dice sets rendered for an online dice roller on FireWaterPro.net.

feel free to use them, and send us a link or post a comment to show off what you’ve done.

Black

Blue

Green

Orange

Pink

Purple

Red

Heightmap Rendering

Rendering of maps using image heightmaps

Earth

Luna

Mars

Venus

thanks to JHT’s beautiful planet maps at planet texture maps

Biorythm Calculator

a Biorythm calculator based around Iztok Strzinar’s PHP script,
I made it more object based, added a UI and included the calculations needed for secondary and tertiary traits.

and yes, this is actually what I was doing on fourth of july evening.
Continue reading ‘Biorythm Calculator’ »

“Drips”

More playing with Blender.

  • Categories

  • Need Code Written?

  • Need a Coding Job?

  • Tags

  • Archives