redmotion

28 April 2008

Morgan Cheetham Chair Visuals






These images are based on a furniture design by a work colleague of mine, Sam Cocker. You can find more info at his website - http://www.morgancheetham.co.uk/. Its been something bubbling under for a few months but I'm quite pleased with how they've turned out so far.(HDRI added to all objects with environment node, FG, AO shader on camera, architectural shaders, XSI 6.02 FND - rendertimes about 15 and 20mins at 2000x1500pixels).

EDIT : 30-04-08 - updated to show correct rear feet.

09 March 2008

Redmotion plugin development update

red_Dxfimporter goes 3d (again)
Finally got around to redoing my old vbscript as a C# dll (something long overdue). This time there will be more useful import options plus each dxf layer will be assigned a seperate, appropriately named material. (Image below shows 8000+ individual polygon cubes on five seperate layers imported in about a minute.). I've noticed that there are memory issues in importing huge DXF scenes (my computer crashed out after reaching the 2 gb limit) using the dotXSI format and I'm looking at some work arounds (each layer is loaded as a seperate dotXSI file).

I'm mulling over some improvements for the 2d plugin as well.



red_Archtools

Been developing quite a few new extras for the Archtools plugin including some tweaks to the existing toolset (all these are hacks are possible using sequences of existing XSI commands but the procedures are scripted to speed things up):

Primitive > Camera > Fixed Polygon Camera ( creates a standard orthographic camera locked exactly perpendicular/parallel to a selected polygon - helps with the accurate and fast trimming of meshes.)

Trim trim away.. (Use the knife tool to cut polygons accurately \/ )


Get > Property > Measure (this is a modification of Isner's original measuring tool but it gives you the option to copy-paste a measurement to another place (perhaps the windows calculator) and also to set a scale (SI units to mm) so that the readout can be displayed in equivalent units (like mm,  cm, etc.) Its applied to the scene root as a property.


Transform > Transform by 2 points (move a object by snapping two points: start position and end point only. No need to go through the whole moving centre routine everytime.)
Transform > Scale by 3 points (unchanged)
Transform > Align to Polygon (align an object (position and rotation) to the centre of a polygon witha few clicks)

Transform > Mirror by 2 points (this is a classic cad tool. It  mirrors an object over an arbitary line)
Transform > Rotate by 4 points (precision rotation of multiple objects - same as before)
Transform > Align to edge (similar to Align to polygon but moves and rotates an object to an edge)
Edit > Instances on a curve  (Will include this - its handy - see post below)

(May tweak these commands listed below)
Primitive >Polygon mesh > Draw Box
Primitive >Polygon mesh > Draw Cone
Primitive >Polygon mesh > Draw Cube
Primitive >Polygon mesh > Draw Cylinder
Primitive >Polygon mesh > Draw Sphere

red_SunPosition

I'm in process of TRYING to update the plugin to read a text file into which you can place cities, locations of your choice and select them through the sunpath interface to get the correct longitude, latitude, timezone, etc. I've tried this before and but have had technical problems with the combobox.

28 February 2008

Sunpath tutorial video


This is a quick video to demostrate the Sun Position plugin in use. Download from here.

23 February 2008

Instance on a curve (XSI)


This is command primarily for doing balustrades quickly. Although, I guess it could have other uses...

1. Create a model from the baluster item you wish to use.

2. Run the command with: Right hand EDIT > Instances on curve

3. Select the model and then the curve.

4. An options dialogue will appear. The number of instances evenly placed on the curve is determined with a slider and their tangency by checking one or more checkboxes. (eg: how they relate to the curve)

In the image, "X" tangent was used.

Get it here.

02 December 2007

Archtools for XSI




This is a plugin with a number of little tools for modelling with more precision:

Draw Box, Draw Cone, Draw Cube, Draw Cylinder and Draw Sphere enable the user to pick 2-3 points to define the size, position (and rotation in some cases) of the standard polygon primitives. Draw box requires 3 points (corner point, length, width) , the others two (centrepoint then size).
The two transform tools mimic common cad tools: the 3 point rotate and the 3 point scale.
1. Select an object or or number of them.
(Use CTRL to snap to elements, Left-click to select all points.)
2. Pick the origin about which the scale or rotation will be done.
3. Pick the reference point (usually on the object to be transformed) that will be used for scaling/rotation
4. In the case of the rotation, pick a point which defines the axis of rotation.
5. Finally, pick the new position for the reference point. Right-click to exit when finished.


Click on this thumbnail to see 4 point rotate in action.

EDIT: (link updated. - download and replace file from .txt to .xsiddon) here.

15 November 2007

Black Mesa: Source

At the mo' I'm just pushing forwards with some prop skins for Black Mesa: Source. Thought I'd link to this image at moddb which shows my DNA texture sitting in the foreground.

Rapidcore 001

02 November 2007

Sunpath plugin - alternative download

If you are having trouble getting sunpath plugin to run you can get a non-xsiaddon version from the link below. It also contains instructions on how to install the plugins manually and usage tips.

http://files-upload.com/333993/SunPosition-beta0.2-26-06-07.zip.html

07 September 2007

IES Lights in XSI

This is something I posted at XSIbase on June 8, 2007, I'm putting it here for ease of finding:


I started playing around with the IES plugin for Softimage XSI from Ctrl studio called ctrl.light profile and wanted to establish a workflow that yealded some good results. (see link to original post for download: http://forums.cgsociety.org/showthread.php?f=24&t=300617&page=1&pp=15)

Anyway, Ctrl.light profile does seem to display a reasonably accurate visual appearence of a luminaire, if used correctly:-

To get a hold on how to use the plugin do the following:-

1. Firstly: find a light fitting that you know about, it helps to have
photographs of it installed and working. I chose some uplighters from Erco;
(Erco are good because provide both 3d meshes and IES data for all their
products as well as comprehensive brochures.)

2. Then: Get > Primitive > Geoshader and add the plugin to the
Geoshader.

3. Import the appropriate IES data into the IES filename section.

4. Create a point light. Important: Reduce the intensity of the point light
you are going to use as an IES to 0
or you will not get a correct result - you'll end up getting light from the pointlight as well as the IES shader (which is extra bad if you are using GI or/and FG.)

5. In the light part of the plugins ppg attach the new point light.

6. Now do a test render of the light positioned near a surface and go
forward from there.

7. Important: DON'T rotate the point light. After all, there is no logical reason to. IES data for an uplighter will automatically cast light upwards, a downlighter will always cast light downwards. Just placing the pointlight above or below a specific light (depending on the type) is all you need to do.


Finally, if you need more than one light of the same type, use Instances. Create a model from the light mesh object (if used), point light and geoshader, then instance them around the scene - Works well.

25 August 2007

3rd place - T-Gen Competition Entry

I was very pleased to get third place with this entry into the T-Gen competition:


20 August 2007

Redmotion XSI plugins - now packaged addons

I've decided to package all my plugins as .xsiaddons. This should now allow them to be installed in a workgroup and easier to uninstall.

2d Dxf importer for XSI v6 - here
(No Change)
3d Dxf importer for XSI v5/6 - here
(No Change)
Sun Position plugin - here
(Now features Primitive > Light > Sun and Property > SunPosition menu items. The Sun primitive features a "distance" parameter for moving the light clear of the scene.)
Four point rotate - here (Post coming soon about how to use this plugin - it's a CAD style precise rotation tool.)

09 August 2007

Something revolutionary is coming!

Softimage have been developing a new extension for their existing software, Softimage XSI. To quote a post (perhaps the most exciting one i've ever read there) at XSIbase :-
(It) will do for particles, custom ops, and tools, etc what the render tree has done for custom look development. That is, open it up to many more people and increase the rate of development.
Basically, it seems as if you will be able to add your own complex features based around existing operations perhaps without any coding experience.

06 August 2007

Entrance Interior


1hr 20mins rendering, FG about 50mins- Mental Ray, Photoshop, Softimage XSI 6.02

29 June 2007

Sun position for XSI 6 - beta

Please download this plugin for XSI 6+ from here.


Read the instructions in the readme file for installation and usage.

Residential Building 1 (reprise)

Yep. Rendered in Mental Ray in just under two hours at 2000 pix wide and tweaked in Photoshop comes my redo of the Residential Building 1 image:

Both images can be found at my portfolio at CGTalk - http://jasonio.cgsociety.org/gallery/

15 June 2007

T-Gen for Softimage XSI - public beta





This is a plug in I've been lucky enough to have been a beta tester on for the last week or two.

What is it? To quote the T-Gen website:

T-Gen is the first tree and plant generator plugin fully integrated into XSI architecture. Over 100 appearance and distribution parameters, full utilization of XSI curves and node-based hierarchy ensures great flexibility and huge possibilities while creating your own trees and plants. You can use almost all XSI tools to additionally edit materials, geometry, hierarchy of all T-Gen objects. With powerful optimization tools you can create low-poly trees and plants for your games. Almost all parameters of T-Gen are animatable, so you can create animations of growing trees and plants.



12 June 2007

Auto-rendermap script (XSI)

Here is a short script for automating the UV-mapping and rendermapping of any polymesh objects you have selected. Change the parts highlighted in red if you want better resolution textures to be generated (eg:512 to 1024). You can also add further rendermap options here like to render illumination only. The line in green is where the UVs are applied. This can be amended to suit various situations.

All rendermaps are automatically saved out to your project/Rendermaps directory.

Once rendermapping is complete, constant shaders are then applied to all the objects and the textures are reattached to the correct objects automatically.

Switch to textured decal in the viewport to see the result.

(Save a copy of the scene before continuing and use at your own risk)

'Make a rendermap on every selected object in scene

'completed between 10 & 11-06-07
'By Jason Wells aka Redmotion

dim name, imfile, oClip

set list = GetValue( "SelectionList" )
if list.count = 0 then
MsgBox "Please select at least one polymesh object first!!"
else

'start rendermap make routine - depending on scene size and object complexity this could take a while... :)
for each item in list
logmessage item.name
name = item.name
if item.type = "polymsh" then
SelectObj name, , True
'set up unique UVs with name starting with RM_
oUVs = GenerateUniqueUVs (, "RM_" & name)

AddProp "RenderMap"
SetValue name & ".RenderMap.imagefilepath", "Render_Pictures\RM_" & name & ".pic"
SetInstanceDataValue , name & ".RenderMap.uvprop", "RM_" & name

SetValue name & ".polymsh.cls.Texture_Coordinates_AUTO.RM_"& name &".PolyPackUV.targresv", 512
SetValue name & ".polymsh.cls.Texture_Coordinates_AUTO.RM_"& name &".PolyPackUV.targresu", 512
SetValue name & ".RenderMap.resolutionx", "512"
SetValue name & ".RenderMap.squaretex", True

logmessage "RENDERMAP generation starts for: " & item.name & " - please wait"
RegenerateMaps name & ".RenderMap"
logmessage "RENDERMAP generation complete!"
end if
next

'change the shaders for selected objects to constants and add RM_image
for each item in list
name = item.name
if item.type = "polymsh" then
SelectObj name, , True

'bring in all rendermap clips
imfile = "Render_Pictures\RM_" & name & ".pic"

oClip = "Clips.RM_" & name & "_pic"

ApplyShader "Material\Constant", , , , siLetLocalMaterialsOverlap
CopyPaste , imfile, "TransientObjectContainer", 1
SIConnectShaderToCnxPoint oClip, ".material.Constant.color", False
SetInstanceDataValue , ".material.Constant.Image.tspace_id", "RM_" & name
end if
next
DeselectAll

end if

Exporting directx files to Dark Basic Pro from XSI




Exporting environments as direct x files to Dark Basic Pro from Softimage XSI isn't that straightforward. But perfect results are possible:-

1. Make your scene, texture and lightmap as required.
2. Save the scene before continuing. Now flip the entire scene as follows:-
- create a primitive > polygon > cube
- make the cube the parent of all polygon scene elements
- scale the cubes Local Z scaling to -1 (flipping the scene) (EDIT: changed from X to Z)
- in explorer, drag all the scene objects back to the scene root
- delete the cube
- select all the scene objects and freeze all transforms



- export using the settings in the image below:


Tip1: Always export to the game directory. XSI will copy and convert all textures in the scene and place them here.
Tip2: Unless there are animated objects in the scene, uncheck export animation otherwise it will crash (and vice versa).
Tip3: Animation Type: Matrix Keys are bone based animation
Tip4: Animation Type: SRT are scale/rotate/transform animations (good for platforms)
Tip5: Complex character rigs will cause crashes. Use the simplest possible rigs for exporting.
Tip6: You can choose shrink textures or choose alternative formats.
3. You will now have a directx file and a series of .jpeg textures in your game directory.
4. Go to your art program (Photoshop or Gimp, whatever) and load up, flip horizontally and save all the scene textures.
5. Go to DBPro and run your model loader code:

29 May 2007

Residential 1


Experiment with instances, architectural materials, low/fast FG settings, physical sky & sun shaders.

Posted at the XSI base forum and consequently made the front page. :)

10 May 2007

Faster 2d .Dxf importer for XSI 6+ only

Download a new plugin for importing 2d dxf info into Softimage XSI v6+ from here: download.

Posted this on XSI base on April 6th 2007. So far there hasn't been much interest so development hasn't progressed much further.

Before using: Please note that all data to be imported should be FLAT 2D CAD data. For files with line information or DXF polymeshes that are in 3 dimensions, please use the previous importer for v5. See link on the right.

VERSION NOTES:

0.1 - new compiled c# based plugin for XSI version 6+ only - imports lines, arcs and circles

Tips for workflow: XSI struggles with displaying a lot of curves on screen (I have Radeon 9800 pro), so try to reduce the curve count as much as possible. Work with snap switched on. Holding down snap (ctrl) on the keyboard results in terrible lag with big curvelists.

**Please note** - this plugin does not run in a workgroup over a network - please install on local harddrive.

POSSIBLE ADDITIONS UNDER CONSIDERATION:
- block importing (to remove the need to explode everything in a CAD program)
- seperate layer data into seperate objects
- more elements
- rewrite 3d importer in C# to evaluate performance

31 March 2007

FG & Architectural materials

This is a quick post of an arch-viz test render using Softimage XSI v6.01 and mental ray 3.5. It features hi-res textures from Arroway, the mental ray Architectural materials, zbump, physical sky and physical sun shaders and the new FG mode, multiframe (30 rays, 50 points, 0 max radius). Render time was around 20 mins with a image size of 1000x675. Some of the shadows still remain blotchy in places at these low FG settings, but it is a huge leap forward from the previous version (3.4) in terms of set up time. A little bit of post-processing was done in photoshop.

Softimage
have now released a bug-fix release of XSI v6 - v6.01. It seems more stable but i've only been using it for a few hours.