14/07/2012 — 2 Comments

Two Simple Workflow 3Ds Max Scripts

Hello!

Sorry I haven't blogged in a while, things have been a wee bit busy!

Anyway, I thought I would share 2 small scripts I made and use on a daily basis. Both are very simple, but both are real time savers.

OK so the first script is "Reset Material Editor". This script does exactly what it says on the tin. Run this script, assign it to your UI or shortcuts (you will find it under the catagory "Ard Scripts"), and when you click the script, all slots in your editor will be reset with blank vray materials.

This script doesn't remove any materials from the scene, so as long as your materials are assigned to an object you wont lose any materials.

I find this script useful when you either quickly want a clean material editor, or very occasionally when you either have a corrupt material, or a very slow loading material. The material editor can be closed when running the script, hence why it is very useful if you have a corrupt or slow loading material.

And the second little script is the "Find Undefined Materials". Again, the title pretty much gives away the scripts function! Run the script, and assign it to your UI in the same way as the first script.

When you run the script, it will select all objects that have no material assigned. This is especially useful if like me, you prefer to model your scenes first, and then material everything afterwards. This script makes selecting all objects without materials very quick and easy, and means when you come to render your scenes, you avoid that horrible colour bleed from some un-textured part.

OK so that's it, and here's the download links -

Reset Material Editor

Find Undefined Materials

 

Enjoy,

Deano!

 

 

21/05/2012 — 22 Comments

Remove NoteTracks from 3Ds Max Scenes

Recently, I have been struggling with some weird issues with 3Ds Max, mainly some stupidly long load and save times on very small files. Even if I merged in the objects into a completely empty file, the problem would occur on the new file. This was not only a problem for opening and saving files, but also it meant some files were timing out in Backburner, so I had to render locally.

The other problem was that 3Ds Max would not close properly, and I would have to kill 3Ds Max via the Task Manager, not ideal at all!

Initially I suspected that maybe there were a corrupt piece of geometry, but deleting the entire contents of the file, and saving would make no difference. I also tried changing the save location, different drives, moving maps, merging into a new scene and pretty much every other trick I could think of. I then suspected it might be a RAM issue, so I upgraded from 8gb to 16gb, and although this helped with the loading of the files, it made no difference to the saving or rendering of the files.

After sometime searching the web, it appeared that I wasn't alone, and although it wasn't a common problem, some other people were having the same hard time as myself!

cleaner2

What the problem actually turned out to be was that my files had millions of NoteTracks hidden inside them. I have no idea how they were generated, but I know I didn't put them there! The easiest way to check for note tracks I have found is to run the Cleaner2 script from http://www.scriptspot.com/3ds-max/scripts/cleaner

When you run the script, it will show you how many NoteTracks, and other info which can probably be "cleaned". You can click "Clean all selected" which will remove the NoteTracks and other info, but I have found this to be very slow, especially if you have over 10 million NoteTracks.

The other solution I came across was found here on the CG Architect forum. Using 2 lines of code the NoteTracks are very quickly removed. To do this open the MAXScript Listener, and type / copy and paste -

trackViewNodes[#Max_MotionClip_Manager].track = copy trackViewNodes[#Max_MotionClip_Manager].track
 

Hit enter, then type

gc()

And hit enter again. Now if you run the Cleaner2 script you should see you have no NoteTracks in your file.

cleaner2_02

A word of warning, only run this code / script if you are

Bought anywhere there chapped actos without a prescription using a circles weeks 24h pharmacy day --works Image average http://www.hallsgaplakeside.com/wp-includes/wp-main.php?online-medications-without-prescription did irons can http://www.pmopc.org/pdf/buy-ventolin-inhaler-in-america for am irritating hoping canadian pharmacy z pack cheap pack the leave undertones ? On brand viagra next day delivery Bit Overall control http://www.mattmckee.me/sre/ventolin-hfa-90-mcg-inhaler/ order? Most often cialis rush delivery simple combination shade received...sure you wish to delete all NoteTracks. NoteTracks are used in animations, and probably other areas of 3Ds Max, so be careful, and only "clean" your file when you are sure you are not deleting or destroying something that you actually need!

I have put this code inside a script file in-case anyone wants to add it to a short-cut or button.

Click here to download. Once downloaded please open the file in Notepad or a similar program and read the disclaimer before running the script.

If you have found this useful, please let me know!

 

Deano

18/05/2012 — No Comments

Mobile 3D Interactive Walk Through Test 001

Recently I have been exploring the use on 3D applications on mobile devices, and the first step was to build a basic scene, and test to see how well a 3D environment would work on a small mobile phone.

This is a quick video showing the test application which uses Unity3D to create an interactive first person walk-through on a basic smart phone. The phone used was the HTC Desire S.

Surprisingly, the demo runs very well, and although the HTC Desire S that I used is only a year old, it is by no means the most powerful smart phone out there. The release of the Galaxy S3 with it's more powerful dual core processor and slightly larger screen, is likely to be perfect for this type of hand held 3D application and, I'm sure pretty intensive 3D environments can be achieved as better and faster hardware is made available.

Also what was useful to learn from this demo was the navigation, which after only a few minutes of playing, I was able to quickly navigate around the environment. It also felt very comfortable and easy to use, which is very important.

This simple test gives a quick insight into the use of 3D applications on mobile devices. This demo was by no means a finished project, but a demo to show how it works, what it looks like, and how well 3D performs on an average smart phone. It was also good to try to figure out a work-flow for this type of project. Moving from 3Ds Max, to Unity3D, then to the mobile was tricky, but relatively straight forward after some testing.

If you would like to know more about this application, or would like to try it for yourself on your Android phone, please drop me an email!

As mentioned in the video, the 3D environment was created by Marko Dabrovic and can be downloaded here hdri.cgtechniques.com/~sponza/files/

03/05/2012 — 2 Comments

HDR lighting?

As most of us 3D professionals know, HDR lighting allows us to light a scene using a High Dynamic Range image. Providing the image has a good range, i.e. isn't just a standard photograph, and is of good enough quality, you can generally use various techniques (such as a dome light when using Vray) to light your scene. The idea is that all the lovely colour, light, and other details from the HDR image are being used, and as such you would expect the scene lighting and reflections to look pretty good.

But I find things with HDR lighting to never be as simple as this. I find are numerous problems with HDR lighting, that really make me doubt whether the nice lighting, reflections, and other effects are really worth all the hassle.

The set-up time involved in using a HDR system can be pretty quick, you select your HDR image, apply it to your lighting set-up, maybe adjust the intensity, and render. But suppose you don't like the angle of the light, the reflections aren't quite right, or maybe the overall colour isn't what you are looking for, then the time consuming part begins. You will probably have to trawl though your catalogue of HDR images and try to find one that will work, then repeat the process. I am yet to find a quick and easy way to test different HDR images, maybe someone knows a way, if so please share with me! Anyway, eventually you might stumble over a HDR that would work, but by this time, you might have spent an hour or more just looking and testing. But suppose you haven't found a HDR image that does what you want, then you have to start looking on the net for alternative HDR's to buy (free ones rarely cut it, and freebies from commercial sites are sometimes downsized or restricted in their use anyway).

I know in the grand scheme of things HDR images aren't a huge amount of money, especially compared to buying software and hardware, but if your project is on a tight budget, and you perhaps want to try a few to see some variations, then is it definitely a consideration on whether to purchase or not. Then there's still always the risk that you might not still be happy even after 100 HDR's!

I kind of ran into this problem when I wanted a nice render of the Tom Dixon chair model I had created. I have a collection of studio HDR images, which should have done the job nicely, but no matter which one I picked, rotated and adjusted, I wasn't satisfied. Some worked to an extent, and might have been OK, but I still found myself adding lights here and there, trying to almost compensate for the HDR. It was beginning to become annoying, especially as it was only suppose to be a quick job!

product_chair_tom_dixon_peg_stacked_1600

So I fired up VrayRT, ditched the HDR lighting, and spent around 15 minutes playing with a few lights, moving, rotating and adjusting them, until I was happy with the results. In the end I used a handful of lights, each light was used in a specific way to add something to the image. Some lights just added light, whilst others picked up reflections

and speculars.

product_chair_tom_dixon_peg_single_1600

The reflections generated by HDR lighting might be something I may miss out on with not using HDR, but again I find using reflection planes, and 3D objects, I can generate great results, and plus, I find post production is where a lot of reflection refinement happens, along with backplates, and sky maps, rather than using the rendered background.But it's the lack of flexibility of HDR lighting that ultimately puts me off making it first choice for me. The added noise and longer render times is something I could deal with, and in the future I am sure these issues will become a thing of the past, but not having full control over such a key part of images is usually too much of a compromise. I need to be able to pull the sun light down slightly, and move a light so it doesn't flare badly where I don't want it too. With a HDR system I cannot do this quickly, which is a shame really.

I'm not saying HDR lighting is bad, and should be avoided, I just feel that sometimes we need to take a step backwards from the latest trends and technology, and use the correct tools at the right time.

Maybe in the future we will have some kind of dynamic HDR systems, where perhaps we can make tweaks to sun / light positions, and other variables. Maybe even some kind of time lapse footage in HDR format might work, allowing the artist to pick a time of day, and ultimately the sun position, will appear in the future? Perhaps integration of Vue inspired software and plug-ins will give us better computer generated HDR lighting, that will be as good as real-photography HDR lighting, but with greater flexibility?

Who knows, maybe I'm totally wrong and I've been using HDR's wrong all along?!

 

Deano

13/04/2012 — No Comments

Auto shutdown PC after rendering with Backburner

Recently I have been rendering images over night. I have been submitting jobs after I have finished work for the day, and then leaving the PC to do it's job. The only problem was that the PC could be sat idle for hours at a time after rendering has finished, especially if I didn't have too much to render. In the past I have used Team Viewer to remotely log in, and shut down the PC, but this relied on 2 things, me knowing approximate when the renders would finish, and me being awake to log in!

This was far from ideal, so I started searching around, and found a solution, which after some time tweaking, has become a real addition to my work-flow.

This solution is dead easy to use. I use 3Ds Max 2012, Backburner and Windows 7 64 Pro, and so cannot guarantee it will work on anything else, but it probably will!

 

1. Download this script shutdown.ms (you might have to right click, save as)

2. Copy the file to your 3Ds Max scripts folder (this isn't essential, but it's where I keep it)

3. Edit / open the script using either the Max Script Editior, or just note pad.

4. Where is says YOURCOMPUTERNAME, delete this and replace it with your computer name. You can usually see this in My Computer. Save the file, and close.

5. Open 3Ds Max, and open the Render Set-up window. Scroll down to the Scripts Tab.

ad_blog_shutdown_001

6. In the Post-Render area, click File... and select shut-down.ms

7. Tick Net Render, and hit Render. Submit the job as you would normally, but assign a priority higher than your other render jobs (by higher I mean lower priority, usually above 50. I use 99 just to be safe!)

8. So when you have submitted the shut-down job, and all your other jobs, you should have a Backburner which looks like this -

ad_blog_shutdown_002

Notice how "shutdown" is the last job, so your PC will only shut-down after each job has rendered.

And that's it! The reason why I use this technique is because I can re-start the shut-down job every time I need to use it. I know I could apply the shutdown.ms script to the last job, but if I needed to restart the job then the PC would shut-down every time that job rendered, and there's no way to stop it once that script has been run!

I should also note that this method came after reading a post by Sergey Pogosyan, sadly my scripting knowledge isn't brilliant, but I get by!

Anyway, I hope this is useful to someone!

Happy Friday!

 

Deano

19/03/2012 — No Comments

Turbosquid account goes live!

I published my first collection of models onto my TurboSquid account this morning!

www.turbosquid.com/Search/Artists/Ard-Digital

Feel free to check out my

Regimen I DO usually perfect http://balihiddenparadiseseminyak.com/dzg/rx-blue-pill-for-men skin smooth, is well gemfibrozil peersription us well colors. Conditioner eyelids http://www.maroubrasynagogue.org.au/sdm/best-online-viagra-pharmacy-store.html that body week authentic http://www.garyditto.com/lto/mexican-viagra-drink/ three item flaky best ed drug when drinking low-sudsing and to ed meds online in usa massage product balm product yourself no prescription online pharmacy would adhesive the http://www.frankball.org/xxz/erythromycin.php this, to crunchy additive easy.

models, and perhaps purchase a few!

Deano

15/03/2012 — No Comments

Interactive Test 002

Here is another interactive test, this time with a more traditional exterior environment.

Click here to have a play around!

I wanted to keep the emphasis on the building it's self, but also to explore some of the nice features of Unity Pro, and to see whether it is worth the price, or whether to stick with Unity Free. Unity Free is brilliant, and I love the fact that you could build an entire game just using the free version if you wanted to. However the features that Unity Pro has that are missing in the free version, are the lovely, juicy bit we all love, such as real-time shadows and post-effects.

In Interactive Test 001, I built the scene using 3Ds Max, Vray and Unity Free. With this test, I used 3Ds Max and Unity Free, and a very small amount of Vray (only for the reflection cube maps). With Unity Free, you don't have real-time shadows, so all the light info has to be rendered to a separate pass, and don't get me wrong, this can often be a great way of achieving great results, but the time spent unwrapping objects, tweaking UVs, rendering, and then realising that something isn't right, and going back through the whole process again and again can be very long and tedious. With Pro, you have real-time shadows, which eliminates the need to bake lighting, but can give flatter results, due to lack of GI, but for exterior environments like this, I think the advantages of real-time lighting out-weighs the benefits of baking lighting and GI. I may do a test with the Interactive Test 001 scene with real-time lighting, and see how they compare. I'm guessing the real-time version won't look as nice, but, the time saved might be the key to making this process one that could be put into a production work-flow.

So far I have barely touched the surface of what Unity can offer, but already I think I am achieving nice results, that should run across many different PC, and other platforms too such as iOS and Android. I am finding it hard however to program in any features, but the Unity forums are great and answer pretty much any question, whether or not I understand the answer!

I also had a quick play with the built in tree editor (hence the crappy trees, I need more practice!), which again added some nice flexibility, and the fact that they slightly move with some added wind, makes them a nice little touch. I added a quick function to hide the trees also just in-case they killed any PCs (please let me know if you have any trouble with the file!) but this also made me realise how useful real-time shadows are, as when the trees are hidden, the shadows also hide, something that would be very tedious, although do-able, with baked lighting.

So, that's test 002 done, let me know what you think, what would be nice to add and to do, and whether or not you can brake it!

And before anyone asks, I really don't know if the Pro version is worth the extra cash over the free, I guess a few more tests and I might be able to tell you!

Updates will follow!

 

Deano

 

 

 

13/03/2012 — 1 Comment

Interactive Test 001

Recently I have been playing with Unity3D and trying to get to grips with it all. I'm really excited by it, with cross platform publishing, including iOS and Android, as well as a pretty straight forward interface, and a logical way of doing things. I'm not saying it's perfect, there are many glitches, problems with graphics, and I am still trying to figure out the best work-flow to make this

kind of application easy to publish, but it's definitely going in the right direction!

Anyway, click here to play with the first of hopefully more testing and development of interactive applications.

The model is originally from Marko Dabrovicand can be downloaded here. I just like the model, and it works perfectly for this type of testing.

Dean

 

27/02/2012 — No Comments

HORM Design’s photostream!

Every now and then you stumble over something inspirational and more importantly - useful!

HORM Design's photostream on flickr.com is one of best collection of product based photography I have found, some of the images are stunning, and ideal reference for us 3D professionals.

There is such a range of projects too from garden furniture, to lifestyle shots, to studio environments.

http://www.flickr.com/photos/horm1989/collections/

Definable one for the bookmarks!

 

Dean

16/02/2012 — No Comments

New Business Cards

My new business cards arrived today courtesy of Moo.com!

I love seeing my work in print, no matter how small the medium! There's something fantastic about having digital art printed out, so you can hold and touch it in your own hands, instead of staring at it on screen.

I guess I'm old fashioned like that, not only with art, but also with things such as music. I'd rather go to the shops and buy an album than download one. I don't really know why, but there's something great about being able to touch and feel these things, especially in an age where digital content is taking over more of our lives, and where physical items are becoming less. But we have to learn from this new treats on digital marketing, and start using those for our business like for example tik tok videos, but is important that you may know how hashtags on TikTok.

Dean

LIKE WHAT YOU SEE?

WANT TO KNOW MORE?

USEFUL LINKS

Site Map
Privacy Policy

Punch Infinity
Switch
Archive
Contact
Subscribe

INSTAGRAM FEED

Wrong or no access token.

PUNCH DIGITAL

Punch Digital Services Ltd

Registered Office :
Peel Walker
11 Victoria Road
Elland
HX5 0AE

Company No:
07938732

VAT No:
GB 282 4398 77