CMZTECH.NET
  • Blog
  • Graphics
  • Virtual Reality
  • 3D Printing
  • Fun Stuff
    • furiosus tangeret solum vitrum >
      • A new friend
      • Chorazin
      • Curious1
      • MRGAMERESOURCES
  • Contact

She's thinking (Dev Diary)

1/27/2015

0 Comments

 
Starting to add some AI to the Duchess.  Built an evasion counter, if you can increase your distance from the Duchess every frame for a predetermined interval, she'll respawn in a different location, meaning you evaded her clutches.
I can already determine if she's visible, so I'll only allow a respawn if you can't see her.
The thing that concerns me, is how intertwined does the AI become with the level design. If I tune the AI am I freezing the level design.  Do I need different AI for interior and exterior levels.....
The picture is the radio out of a Huey.



Picture
0 Comments

Back in the Game (Dev Diary)

1/22/2015

1 Comment

 
Getting back to the game, I decided to add a simple feature this evening.  A simple bobbing motion to the camera so that it feels like the player is walking and not just floating across the landscape.
It's pretty easy to do, especially if you use a nice convenient curve like Cos or Sin.  The character controller even has a  function for getting distance traveled  (cc.velocity.magnitude).
So we can take these and scale them to make a function that adjusts the camera offset from the character controller to get a nice bobbing effect.

Which sounds like it would take about 10 minutes, but I confused myself about how character controllers work, read the documentation for the wrong method and then wasted an hour trying to figure out why my units were screwed up, when they were actually correct.  Problem exists between mouse and keyboard.

Bedtime!!





1 Comment

Hero Forge 3d printed custom miniatures

1/18/2015

1 Comment

 
I kickstarted the Hero Forge project.  Its a WebGL app that lets you design 28mm scale miniatures and then have them printed by ShapeWays.  The WebGL side works very well, is easy to use and the resulting models are full of character.
You have 2 printing options, Strong and Ultradetailed. Strong appears to be selective laser sintered(SLS) nylon and Ultradetailed is a resin product.  I opted for the resin product.   

Picture
My model arrived and I did notice a few texture artifacts caused by the support structure.  A quick email with Hero Forge suggested a swim in 409.  I followed the 409 up with sandpaper and slightly thicker primer and paint than usual.  The resin is very easy to work with, although I did break my mini by dropping her.  Nothing that superglue couldn't fix.
While the artifacts are disappointing, all miniatures in this scale need clean up and quite often a severe problem (slipped mold, damaged mold, bubbles) results in a mini that is only good for the bin.  Multi-part models also require assembly and putty to make them look good, so overall I think the 3D print is of acceptable quality whilst providing a unique product. 

Results:

I'm actually very happy with the results.  She looks like she's ready to do some damage.
Picture
Printed in clear resin
Picture
About 28mm tall!
Picture
Here's a big pic so you can see all the warts both in the painting and the print.
1 Comment

Splash Screen (dev Diary)

1/3/2015

0 Comments

 
Picture
A static screen, that will probably get used as a backdrop for some menu/flow items.
0 Comments

Finding Child objects in Unity(Dev Diary)

1/1/2015

0 Comments

 
The characters in my game are made from a prefab that is essentially an empty game object with children that are renderable.  The problem is that as this empty object doesn't have a Renderable, there is no bounding box available for frustum culling.  So we need to find its children and aggregate them for visibility determination.  
Finding the children is actually quite easy as shown below once you know they are accessed through Transforms.  Fortunately I don't need to aggregate the children to generate the bounding box because of the way my models are designed.  Basically I just need to know if the face is on screen.

Plane[] planes = GeometryUtility.CalculateFrustumPlanes(localCamera);
if(GeometryUtility.TestPlanesAABB(planes, souls[i].transform.Find("face").renderer.bounds))
{
     print ("Visible");
}
Picture
0 Comments

    David Coombes

    Making stuff

    Categories

    All
    3D Graphics
    3D Printing
    3D Scanning
    AI
    Blender
    Cycling
    Development
    Environment
    Futurism

    Archives

    February 2024
    January 2024
    November 2023
    September 2023
    August 2023
    February 2023
    November 2022
    April 2022
    February 2022
    January 2022
    February 2021
    January 2021
    November 2020
    May 2020
    April 2020
    March 2020
    February 2020
    December 2019
    November 2019
    September 2019
    August 2019
    July 2019
    January 2019
    December 2018
    October 2018
    August 2018
    June 2018
    April 2018
    March 2018
    February 2018
    January 2018
    July 2017
    June 2017
    May 2017
    April 2017
    March 2017
    January 2017
    September 2016
    August 2016
    July 2016
    May 2016
    April 2016
    March 2016
    December 2015
    November 2015
    August 2015
    July 2015
    June 2015
    April 2015
    March 2015
    February 2015
    January 2015
    December 2014
    November 2014
    October 2014

    RSS Feed