Calendar February 12, 2015 23:46

Blogger Blogger

Building My First PC - WIP


So I forgot to take a picture of all my components in their boxes, which I really regret. Anyways, I got all the stuff yesterday and and I started to put it together last night with the help of my friend. He helped me mount most of the big parts to the case.

Now that all the parts are mounted, its just a matter of connecting all the cables to the right place. This is probably the scariest part for me, since I'm afraid that I will accidentally fry my computer. This is what I have so far, I just have to plug in the rest of the cables.

I will make sure to post a picture once everything is hooked up and running. Thanks for reading!

Replies 0 Comments Reply Reply

Calendar February 11, 2015 01:20

Blogger Blogger

Mixed Animal Bust # 2

So I was looking at my previous version of this and sculpt and I didn't like how much stuff I had going on.

I decided to get rid of the mane and decided to give it a look more along a dog and a goat. Here is what I have:


Replies 0 Comments Reply Reply

Calendar February 6, 2015 22:27

Blogger Blogger

Fibonacci & Dice - Homework 3 Finished

I have finished this homework assignment for this week. This time around we had to make a program that would generated the Fibonacci sequence for however many number the user wanted and we had to make a really simple version of the die game Yahtzee.

I actually used a lot of the same code I made last week, so I didn't have to sit there for a long time making sure the little stuff worked and I could focus on the main logic of Yahtzee since it took longer than I thought it would.

Here is my code:

#Assignment003_ChristianMunoz.py
#02/06/2014

import random
import math
import sys
import time

#This function suspends the thread for a given amount of seconds 
def sleeper(seconds):
    time.sleep(seconds)

#Assigns a random number to the dice
def rollDice():

    tempInt = random.randint(1,6)

    return tempInt

#This function runs the Fibonacci sequence
def fibonacci():

    finalSequence = []
        
    aInt = 0
    bInt = 1
    count = 0

    #Player decides how many digits of the fibonacci sequence they want
    amount = eval(input('How many digits of the sequence do you want? (At least 2) '))

    print(" ")

    #This checks to makes sure the number will always be an interger
    amount = math.floor(amount)

    #This checks to make sure its a valid entry
    if amount < 2:
        print("That is not a valid entry!")

        print(" ")
        
        fibonacci()

    #If the player just wants to see 2 digits then we print them right away
    elif amount == 2:
        finalSequence.append(aInt)
        finalSequence.append(bInt)

        print(finalSequence)

    #If the entry is valid, then execute code
    else:

        finalSequence.append(aInt)
        finalSequence.append(bInt)

        while (count < amount - 2):

            tempInt = aInt + bInt

            aInt = bInt
            bInt = tempInt

            finalSequence.append(tempInt)

            count = count + 1

        print(finalSequence)

    print(" ")

    playAgain()

#Makes the list of which to roll
def makeListOfDice(tempString):

    tempString = tempString.split()

    return tempString

#This function scores the player's current set of dice
def score(tempString, finalScore):

    #checks for Yahtzee
    if tempString.count(6) == 5 or tempString.count(5) == 5 or tempString.count(4) == 5 or tempString.count(3) == 5 or tempString.count(2) == 5 or tempString.count(1) == 5:

        finalScore += 50
        print("YAHTZEE!")
        print("Your Score is:",finalScore)
        print(" ")

    #checks for Full House or Three of a Kind
    elif tempString.count(6) == 3 or tempString.count(5) == 3 or tempString.count(4) == 3 or tempString.count(3) == 3 or tempString.count(2) == 3 or tempString.count(1) == 3:

        if tempString.count(1) == 2 or tempString.count(2) == 2 or tempString.count(3) == 2 or tempString.count(4) == 2 or tempString.count(5) == 2 or tempString.count(6) == 2:

            finalScore += 30
            print("FULL HOUSE!")
            print("Your score is:",finalScore)
            print(" ")

        else:

            finalScore += 20
            print("THREE OF A KIND!")
            print("Your score is:",finalScore)
            print(" ")

    #chekcs for Four of a Kind
    elif tempString.count(6) == 4 or tempString.count(5) == 4 or tempString.count(4) == 4 or tempString.count(3) == 4 or tempString.count(2) == 4 or tempString.count(1) == 4:

        finalScore += 25
        print("FOUR OF A KIND!")
        print("Your score is:",finalScore)
        print(" ")

    #checks for Small Straight
    elif tempString[0] == 1 and tempString[1] == 2 and tempString[2] == 3 and tempString[3] == 4 and tempString[4] == 5:

        finalScore += 35
        print("SMALL STRAIGHT!")
        print("Your score is:",finalScore)
        print(" ")

    #checks for Large Straight
    elif tempString[0] == 2 and tempString[1] == 3 and tempString[2] == 4 and tempString[3] == 5 and tempString[4] == 6:

        finalScore += 40
        print("LARGE STRAIGHT!")
        print("Your score is:",finalScore)
        print(" ")

    #this just adds the faces together
    else:

        finalScore += tempString[0]
        finalScore += tempString[1]
        finalScore += tempString[2]
        finalScore += tempString[3]
        finalScore += tempString[4]

        print("CHANCE!")
        print("Your score is:", finalScore)
        print(" ")
    
#This function will run the yahtzee game
def yahtzee():

    print(" ")

    diceList = []
    finalScore = 0

    for i in range(0,5):
        diceList.append(rollDice())

    diceList.sort()

    print("First roll you got:",diceList)

    print(" ")

    whichList = input("Which die/dice would you like to reroll? Or just press enter to keep what you have. ")

    print(" ")

    whichList = makeListOfDice(whichList)

    for i in whichList:

        diceList[int(i) - 1] = rollDice()

    diceList.sort()
        
    print("Second roll you got:",diceList)

    print(" ")

    whichList = input("Which die/dice would you like to reroll? Or just press enter to keep what you have. ")

    print(" ")

    whichList = makeListOfDice(whichList)

    for i in whichList:

        diceList[int(i) - 1] = rollDice()

    diceList.sort()
        
    print("Third roll you got:",diceList)
    
    print(" ")

    score(diceList, finalScore)

    playAgain()
    
#This function will run the next game if the player wants to start again
def playAgain():

    decision = input("Would you like to play again? Y/N ")

    print(" ")
    
    decision = decision.lower()

    if decision == "yes" or decision == "y":
        main()

    else:
        print("See you later!")
        sleeper(1.0)
        sys.exit()

#main function
def main():
    
    playerChoice = eval(input("Press 1 to see the Fibonacci Sequence or 2 for Yahtzee: "))

    print(" ")

    #This makes sure that the number will always be an integer
    playerChoice = math.floor(playerChoice)

    #This checks to make sure the entry is a valid entry 
    if playerChoice < 1 or playerChoice > 2:
        print("That is not a valid entry!")

        print(" ")
        
        main()

    #If the entry was valid, then execute code
    elif playerChoice == 1:
        print("You have chosen the Fibonacci Sequence!")

        print(" ")
        
        fibonacci()

    else:
        print("You have chosen Yahtzee!")
        
        yahtzee()

#Starts the sequence
main()

These files are getting bigger and bigger! But I'm sure that there are a few parts where I could have used a for loop instead of hard coding it.

That's all for now, thanks for reading!

Replies 0 Comments Reply Reply

Calendar February 5, 2015 01:18

Blogger Blogger

Building My First PC - Part List

So I have been using my Macbook Pro for the last few years to do all my work, and I can feel that its probably going to die on me soon. So before that happens, I have decided to build my own PC and work off that at home instead of buying a new laptop.

Today I bought all my parts from Newegg, here is what I bought:

PCPartPicker part list:

CPU: Intel Core i5-4670K 3.4GHz Quad-Core Processor
Motherboard: Asus Z87-A ATX LGA1150 Motherboard
Memory: G.Skill Ripjaws X Series 8GB (2 x 4GB) DDR3-2133 Memory
Storage: Seagate Barracuda 1TB 3.5" 7200RPM Internal Hard Drive  
Video Card: Asus GeForce GTX 660 2GB Video Card (2-Way SLI)  
Video Card: Asus GeForce GTX 660 2GB Video Card (2-Way SLI)  
Case: Thermaltake Chaser A31 ATX Mid Tower Case  
Power Supply: Corsair Builder 750W 80+ Bronze Certified ATX Power Supply
Optical Drive: Samsung SH-224DB/BEBE DVD/CD Writer
Operating System: Microsoft Windows 7 Professional SP1 (OEM) (64-bit)

For now I haven't decided on what kind of monitor I will be using, I decided that I could always buy that locally. My friends that have build their own PCs keep telling me that its not that hard to get it put together, so I hope that they are right.

I will post pictures once I get the stuff, thanks for reading!

Replies 0 Comments Reply Reply

Calendar February 4, 2015 23:43

Blogger Blogger

Fibonacci Speaks Parseltongue

Get it? Because I'm making a Fibonacci Sequence generator in Python... No? Ok...

The next homework assignment is divided into two parts, I have to created a Fibonacci generator that will print a list of numbers however long the user wants. And second, I have make a very simple text based Yahtzee game.

While I was in class tonight, I managed finish the first part of the assignment. Here is what I have:

#Assignment003_ChristianMunoz.py
#02/04/2014

import random
import math
import sys
import time

#This function suspends the thread for around 1 
def sleeper():
    time.sleep(1.0)

def fibonacci():

    finalSequence = []
        
    aInt = 0
    bInt = 1
    count = 0

    #Player decides how many digits of the fibonacci sequence they want
    amount = eval(input('How many digits of the sequence do you want? (At least 2) '))

    print(" ")

    #This checks to makes sure the number will always be an interger
    amount = math.floor(amount)

    #This checks to make sure its a valid entry
    if amount < 2:
        print("That is not a valid entry!")

        print(" ")
        
        fibonacci()

    #If the player just wants to see 2 digits then we print them right away
    elif amount == 2:
        finalSequence.append(aInt)
        finalSequence.append(bInt)

        print(finalSequence)

    #If the entry is valid, then execute code
    else:

        finalSequence.append(aInt)
        finalSequence.append(bInt)

        while (count < amount - 2):

            tempInt = aInt + bInt

            aInt = bInt
            bInt = tempInt

            finalSequence.append(tempInt)

            count = count + 1

        print(finalSequence)

    print(" ")

    playAgain()

#This function will run the next game if the player wants to start again
def playAgain():

    decision = input("Would you like to play again? Y/N ")

    print(" ")
    
    decision = decision.lower()

    if decision == "yes" or decision == "y":
        main()

    else:
        print("See you later!")
        sleeper()
        sys.exit()

#main function
def main():
    
    playerChoice = eval(input("Press 1 to see the Fibonacci Sequence or 2 for Dice: "))

    print(" ")

    #This makes sure that the number will always be an integer
    playerChoice = math.floor(playerChoice)

    #This checks to make sure the entry is a valid entry 
    if playerChoice < 1 or playerChoice > 2:
        print("That is not a valid entry!")

        print(" ")
        
        main()

    #If the entry was valid, then execute code
    elif playerChoice == 1:
        print("You have chosen the Fibonacci Sequence!")

        print(" ")
        
        fibonacci()

    else:
        print("You have chosen the Dice game!")
        
        diceGame()

#Starts the sequence
main()

I've been thinking about the Yahtzee game, and I don't think it will be that hard. That's all for now, thanks for reading!

Replies 0 Comments Reply Reply

Calendar February 3, 2015 22:50

Blogger Blogger

Alligator Speed Sculpt


So tonight in my ZBrush class we had a speed sculpt assignment to try and sculpt the alligator from the Peter Pan carton:


The point of the exercise wasn't to get a perfect replica or to get in all the detail. It was more to try and set the main big masses and try to shape it to look like the alligator. I think I did a good job in the short time I had.

At first I kind of panicked because I didn't really know where to start. I decided to start with the eyes and then everything kid of just flowed out of there. I  think I did a good job at getting the shape of the head. I plan on coming back to this and getting more work done on it.

That's all for now, thanks for reading!

Replies 0 Comments Reply Reply

Calendar January 29, 2015 02:52

Blogger Blogger

Cards & Dice - Homework 2 Finished

So last time I posted about my Python homework, I had to created a very simple way to make a deck of cards and shuffle it. For the assignment to be completed, I had to add a dice game to it and have a way for the player to decide on what to do next. Here is my finished homework:

#Assignment002_ChristianMunoz.py
#01/29/2014

import random
import math
import sys
import time

#This function suspens the thread for around 1 second and gives the illusion of loading
def sleeper():
    time.sleep(1.0)
    
#Assigns a random number to the dice
def rollDice():

    tempInt = random.randint(1,6)

    return tempInt

#make the list of cards
def makeListOfCards(stringOfCards):

    listOfCards = stringOfCards.split()

    return listOfCards

#shuffle code
def shuffleDeck(inputDecks):

    shuffledDeck = []

    for i in range(len(inputDecks)):

        tempInt = random.randint(0,len(inputDecks) - 1)
        shuffledDeck.append(inputDecks.pop(tempInt))

    return(shuffledDeck)

#This function will run the card game
def cardGame():
    
    decksToShuffle = eval(input("Enter how many decks you would like to shuffle at once (1-5):  "))

    #This makes sure that the number will always be an integer
    decksToShuffle = math.floor(decksToShuffle)

    #This checks to make sure the entry is a valid entry
    if decksToShuffle <= 0 or decksToShuffle > 5:
        print("That is not a valid entry!")
        cardGame()

    #If the entry was valid, then execute code
    else:
        CardSymbols = '''AS AH AD AC
                         KS KH KD KC
                         QS QH QD QC
                         JS JH JD JC
                         10S 10H 10D 10C
                         9S 9H 9D 9C
                         8S 8H 8D 8C
                         7S 7H 7D 7C
                         6S 6H 6D 6C
                         5S 5H 5D 5C
                         4S 4H 4D 4C
                         3S 3H 3D 3C
                         2S 2H 2D 2C'''
        
        listOfCards = makeListOfCards(CardSymbols) * decksToShuffle

        print("Shuffling the deck\n.")
        sleeper()
        
        print("..")
        sleeper()

        print("...")
        sleeper()
        
        print(shuffleDeck(listOfCards))

        playAgain()

#This function will run the dice game
def diceGame():

    #List of 5 dice
    dice1 = rollDice()
    print(".")
    sleeper()
    
    dice2 = rollDice()
    print("..")
    sleeper()
    
    dice3 = rollDice()
    print("...")
    sleeper()
    
    dice4 = rollDice()
    print("....")
    sleeper()
    
    dice5 = rollDice()
    print(".....")
    sleeper()

    print("You got:", dice1,dice2,dice3,dice4,dice5)

    playAgain()

#This function will run the next game if the player wants to start again
def playAgain():

    decision = input("Would you like to play again? Y/N ")
    
    decision = decision.lower()

    if decision == "yes" or decision == "y":
        main()

    else:
        print("See you later!")
        sleeper()
        sys.exit()

#main function
def main():
    
    playerChoice = eval(input("Press 1 to play the card game or 2 for dice: "))

    #This makes sure that the number will always be an integer
    playerChoice = math.floor(playerChoice)

    #This checks to make sure the entry is a valid entry 
    if playerChoice <= 0 or playerChoice > 2:
        print("That is not a valid entry!")
        main()

    #If the entry was valid, then execute code
    elif playerChoice == 1:
        print("You have chosen the card game!")
        cardGame()

    else:
        print("You have chosen the dice game!")
        diceGame()

#Starts the sequence
main()

I am really proud of this version of the "game". I spent some time making sure that it would work well and that it would look as interesting as possible. 

That's all for now, thanks for reading!

Replies 0 Comments Reply Reply

Calendar January 28, 2015 00:13

Blogger Blogger

Mixed Animal Bust # 1

Today we had a speed sculpt session at the end of my ZBrush class. The point of this exercise was to make a mixed animal, so I decided to make a lion with horns.

Here is what I have:



I'm going to continue working on this, thanks for reading!

Replies 0 Comments Reply Reply

Calendar January 25, 2015 22:42

Blogger Blogger

Making & Shuffling a Deck of Cards - Homework 2

For this next week's homework, we have to create a simple program where you created a deck of cards and shuffle it for the first part. 

Then we also have to created a way for the person running the code decide how many decks to shuffle at once.

Here is what I made:

#Assignment002_ChristianMunoz.py
#01/25/2014
from random import randint
import math

#make the list of cards
def makeListOfCards(stringOfCards):

    listOfCards = stringOfCards.split()

    return listOfCards

#shuffle code
def shuffleDeck(inputDecks):

    shuffledDeck = []

    for i in range(len(inputDecks)):

        tempInt = randint(0,len(inputDecks) - 1)
        shuffledDeck.append(inputDecks.pop(tempInt))

    return(shuffledDeck)

#main function
def main():
    
    decksToShuffle = eval(input("Enter how many decks you would like to shuffle at once (1-5):  "))

    #This checks to make sure the entry is a valid entry
    if decksToShuffle <= 0 or decksToShuffle > 5:
        print("That is not a valid entry!")
        main()

    #If the entry was valid, then execute code
    else:
        CardSymbols = '''AS AH AD AC
                         KS KH KD KC
                         QS QH QD QC
                         JS JH JD JC
                         10S 10H 10D 10C
                         9S 9H 9D 9C
                         8S 8H 8D 8C
                         7S 7H 7D 7C
                         6S 6H 6D 6C
                         5S 5H 5D 5C
                         4S 4H 4D 4C
                         3S 3H 3D 3C
                         2S 2H 2D 2C'''
        
        listOfCards = makeListOfCards(CardSymbols) * decksToShuffle
        
        print(shuffleDeck(listOfCards))

main()

I still have to make another little program that works almost the same way, but with dice. This is all for now, thanks for reading!

Replies 0 Comments Reply Reply

Calendar January 22, 2015 01:20

Blogger Blogger

Learning Python - Homework 1

So I have actually decided to go back to school and get a degree in Computer Science and hopefully make myself more hire-able. One of my classes this semester is CS 1410, and I will be learning Python for this class.

I have actually taken coding classes in the past and I know my way around Java, JavaScript, and ActionScript. I have also done some stuff on my own on CodeCademy to learn those languages.

Today I turned in my first Python assignment, and I'm really excited for this class. The stuff I will post below isn't complicated at all, but at the end of the semester I will have a full game built on Python.

The assignment was basically to introduce us to Python and learn some basic syntax and make a few conversions with data that the user types on the console. If anyone has some critique, please let me know:

# Assignment001_ChristianMunoz.py
# 01/14/2014

#Function 1 = This function converts Celsius to Fahrenheit


print("This program takes a temperature in Celsius as input and converts it to Fahrenheit")


celsius = eval(input("Please input celsius to be converted:  "))


fahrenheit = 9/5 *  celsius + 32


print("The temperature is ", fahrenheit, " degrees in Fahrenheit.")

print(' ')

#Function 2 = This function converts Fahrenheit to Celsius


print("This program takes a temperature in Fahrenheit as input and converts it to Celsius")


fahrenheit = eval(input("Please input Fahrenheit to be converted:  "))


celsius = (fahrenheit - 32) * 5/9


print("The temperature is ", celsius, " degrees in Celsius.")

print(' ')

#Function 3 = This function converts Radians


print("This program takes an angle in Radians and converts it Degrees")


radians = eval(input("Please input Radians to be converted: "))


degrees = radians * (180 / math.pi)


print("The answer is ", degrees, " in Degrees")

print(' ')

#Function 4 = This function converts Degrees


print("This program takes an angle in Degrees and converts it to Radians")


degrees = eval(input("Plese input degrees to be converted: "))


radians = degrees * (math.pi / 180)


print("The answer is ", radians, " in Radians")

print(' ')

#Function 5 = This function finds two coterminal angles (one + and one -)


print("This program takes an angle in Degrees and finds two coterminal angles (one positive and one negative)")


userInput = eval(input("Please input the angle in Degrees to find coterminal angles: "))


positiveAngle = userInput + 360

negativeAngle = userInput - 360

print("The answers are: ", positiveAngle, " and ", negativeAngle, " in Degrees")

print(' ')

#Function 6 = This function finds a complement and supplement angle


print("This program takes an angle in Degrees and finds the Complement and Supplement angles")


userInput = eval(input("Please input the angle in Degrees to find the complement and supplement angles: "))


if userInput >= 180 or userInput < 0:

    complement = 'IMPOSSIBLE'
    supplement = 'IMPOSSIBLE'

    print("The Complementary angle is ", complement, " and the Supplementary angle is ", supplement, ".")

    print(' ')

elif userInput >= 90:

    complement = 'IMPOSSIBLE'
    supplement = 180 - userInput

    print("The Complementary angle is ", complement, " and the Supplementary angle is ", supplement, " in Degrees.")

    print(' ')

else:

    complement = 90  - userInput
    supplement = 180 - userInput

    print("The Complementary angle is ", complement, " and the Supplementary angle is ", supplement, " in Degrees.")

    print(' ')

That's all for now, thanks for reading!

Replies 0 Comments Reply Reply

Calendar January 20, 2015 23:05

Blogger Blogger

Texture Tuesday - January 20


Here is what I did for today's texture. Since I'm back in school, I didn't have much time to start it earlier, so this was literally like an hour worth of work to make the high poly version of these wood planks for my texture.

I did the base model cubes in Maya since I find it easier to move stuff around in Maya. I also tried to subdivide the model a bit before sending it into ZBrush. This way I could make sure that my quads will be a little more uniform once I start upping the resolution. I did all the sculpting in ZBrush fairly quickly while I was on a class tonight.

I will bake the Normal and AO maps when I get a minute. Then I will try to do a quick Diffuse map in Photoshop. That's all for now, thanks for reading!

Replies 0 Comments Reply Reply

Calendar January 20, 2015 01:23

Blogger Blogger

Drawing - Ninja Girl


Here is some Ninja Girl that I've been working on for a while.

Replies 0 Comments Reply Reply

Calendar January 14, 2015 02:18

Blogger Blogger

Texture Tuesday - January 13



Its Tuesday again (technically its now Wednesday since I'm posting after midnight) and it means another speed texture. This time I decided to do a Sci Fi themed floor texture.

I created the base mesh in Maya and baked out the Normal, AO, & Convexity maps. Everything else was done in Photshop and finally rendered in Marmoset Toolbag (bottom picture).

That's all for now, thanks for reading!

Replies 0 Comments Reply Reply

Calendar January 8, 2015 02:24

Blogger Blogger

Texture Revision for January 6



So I got some feedback that the slabs were too smooth on my Facebook group for the textured I did yesterday. So I went back to Zbrush and added played around more with it.

I have included my revised texture and I also decided to do a render in Marmoset Toolbag 2.

Thanks for reading!

Replies 0 Comments Reply Reply

Calendar January 7, 2015 02:25

Blogger Blogger

Texture Tuesday - January 6



So one of my old professors just started a Facebook group called Texture Tuesday. The idea is to make a quick texture about anything for games.

This is the texture that I made today. I started with the base model in Maya and then took it to Zbrush for the detail. I baked out a Nrmal Map and AO. This was actually a lot of fun to make, and hopefully I'll have time to do one every Tuesday.

That's all for now, thanks for reading!

Replies 0 Comments Reply Reply